Skip to content

Commit

Permalink
[ci] Fix linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Sep 29, 2024
1 parent de1e895 commit 600a687
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ jobs:
-DCMAKE_CXX_COMPILER=/usr/bin/clang++-18 \
-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld \
-DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld \
-DCMAKE_MODULE_LINKER_FLAGS=-fuse-ld=lld",
-DCMAKE_MODULE_LINKER_FLAGS=-fuse-ld=lld \
-DCMAKE_CXX_FLAGS='-static-libstdc++ -stdlib=libc++'",
debug_flags: "-DCMAKE_BUILD_TYPE=Debug",
release_flags: "-DCMAKE_BUILD_TYPE=Release",
build_flags: "-DCMAKE_CXX_FLAGS='-static-libstdc++ -stdlib=libc++'",
build_flags: "",
dependencies: "sudo apt update ; \
sudo apt install lsb-release wget software-properties-common ; \
curl -L https://apt.llvm.org/llvm.sh > llvm.sh ; \
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ target_link_libraries(UltraLeap PUBLIC
LeapC::Leap
)

set(BACKENDS_TO_BUILD "dump;max")
if(NOT MSVC)
list(APPEND BACKENDS_TO_BUILD "pd")
endif()

avnd_make(
TARGET UltraLeap
MAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/src/Model.hpp"
Expand Down

0 comments on commit 600a687

Please sign in to comment.