Skip to content

Commit

Permalink
Remove dependency in libgphobos in built artifacts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Jul 31, 2022
1 parent 609d15e commit 629baa2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake-cross-compile.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake
name: aarch64 builds

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake
name: x86_64 builds

on:
push:
Expand Down Expand Up @@ -41,7 +41,6 @@ jobs:
${{github.workspace}}/build/libprovision-java.so
${{github.workspace}}/build/retrieve_headers
${{github.workspace}}/build/sideload_ipa
build-anisette-server:
runs-on: ubuntu-20.04

Expand Down Expand Up @@ -95,3 +94,4 @@ jobs:
with:
name: retrieve-headers-debug
path: ${{github.workspace}}/build/retrieve_headers

2 changes: 1 addition & 1 deletion toolchains/rpi-4-no-suffix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SET(COMPILER_ROOT ${RASPBERRY_ROOT_PATH})

SET(CMAKE_PREFIX_PATH ${RASPBERRY_ROOT_PATH})

SET(CMAKE_D_FLAGS "${CMAKE_D_FLAGS} -l:libgphobos.a -fall-instantiations" CACHE INTERNAL "" FORCE)
SET(CMAKE_D_FLAGS "${CMAKE_D_FLAGS} -defaultlib=:libgphobos.a -fall-instantiations" CACHE INTERNAL "" FORCE)
# SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --sysroot=${RASPBERRY_ROOT_PATH}" CACHE INTERNAL "" FORCE)
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --sysroot=${RASPBERRY_ROOT_PATH}" CACHE INTERNAL "" FORCE)
# SET(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} --sysroot=${RASPBERRY_ROOT_PATH}" CACHE INTERNAL "" FORCE)
Expand Down
2 changes: 1 addition & 1 deletion toolchains/rpi-4.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SET(COMPILER_ROOT ${RASPBERRY_ROOT_PATH})

SET(CMAKE_PREFIX_PATH ${RASPBERRY_ROOT_PATH})

SET(CMAKE_D_FLAGS "${CMAKE_D_FLAGS} -l:libgphobos.a -fall-instantiations" CACHE INTERNAL "" FORCE)
SET(CMAKE_D_FLAGS "${CMAKE_D_FLAGS} -defaultlib=:libgphobos.a -fall-instantiations" CACHE INTERNAL "" FORCE)
# SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --sysroot=${RASPBERRY_ROOT_PATH}" CACHE INTERNAL "" FORCE)
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --sysroot=${RASPBERRY_ROOT_PATH}" CACHE INTERNAL "" FORCE)
# SET(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} --sysroot=${RASPBERRY_ROOT_PATH}" CACHE INTERNAL "" FORCE)
Expand Down

0 comments on commit 629baa2

Please sign in to comment.