Skip to content

Commit

Permalink
last attempt for now
Browse files Browse the repository at this point in the history
  • Loading branch information
robinholzi committed May 5, 2024
1 parent 463c9ba commit d8f2669
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
environment-name: clang
cache-environment: true
create-args: clang=${{matrix.compiler.version}} libclang=${{matrix.compiler.version}} clang-tools=${{matrix.compiler.version}}
create-args: clang=${{matrix.compiler.version}} libclang=${{matrix.compiler.version}} clang-tools=${{matrix.compiler.version}} libcxx libcxxabi
# gcc_linux-64=${{matrix.compiler.version}} gxx_linux-64=${{matrix.compiler.version}}

- name: Create build and artifact directories
Expand All @@ -67,8 +67,8 @@ jobs:
-DCMAKE_BUILD_TYPE=${{matrix.build-type}}
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
-DCMAKE_CXX_FLAGS="${{ matrix.compiler.cxx == 'clang++' && '-stdlib=libc++ -std=c++20' || ''}} -fdebug-prefix-map=${{github.workspace}}/build=."
-DCMAKE_CXX_STANDARD_LIBRARIES="${{ matrix.compiler.cxx == 'clang++' && '-lc++ -lc++abi' || ''}}"
-DCMAKE_CXX_FLAGS="${{ matrix.compiler.cxx == 'clang++' && '-stdlib=libc++ -std=c++20 -lc++ -lc++abi' || ''}} -L$CONDA_PREFIX/lib -I$CONDA_PREFIX/include/c++/v1 -fdebug-prefix-map=${{github.workspace}}/build=."
-DCMAKE_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH"
-DgRPC_PROTOBUF_PROVIDER=module
-DABSL_ENABLE_INSTALL=On
-DgRPC_INSTALL=ON
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
with:
environment-name: clang
cache-environment: true
create-args: clang=${{matrix.compiler.version}} libclang=${{matrix.compiler.version}} clang-tools=${{matrix.compiler.version}}
create-args: clang=${{matrix.compiler.version}} clang-tools=${{matrix.compiler.version}} libclang=${{matrix.compiler.version}} libcxx libcxxabi
# gcc_linux-64=${{matrix.compiler.version}} gxx_linux-64=${{matrix.compiler.version}}

- name: Setup pre-built grpc binaries
Expand Down Expand Up @@ -244,8 +244,8 @@ jobs:
-DCMAKE_BUILD_TYPE=${{matrix.build-type}}
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
-DCMAKE_CXX_FLAGS="${{ matrix.compiler.cxx == 'clang++' && '-stdlib=libc++ -std=c++20' || ''}} -fdebug-prefix-map=${{github.workspace}}/build=."
-DCMAKE_CXX_STANDARD_LIBRARIES="${{ matrix.compiler.cxx == 'clang++' && '-lc++ -lc++abi' || ''}}"
-DCMAKE_CXX_FLAGS="${{ matrix.compiler.cxx == 'clang++' && '-stdlib=libc++ -std=c++20 -lc++ -lc++abi' || ''}} -L$CONDA_PREFIX/lib -I$CONDA_PREFIX/include/c++/v1 -fdebug-prefix-map=${{github.workspace}}/build=."
-DCMAKE_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH"
-DMODYN_TRY_LOCAL_GRPC=ON
-DMODYN_BUILD_PLAYGROUND=ON
-DMODYN_BUILD_TESTS=ON
Expand Down

0 comments on commit d8f2669

Please sign in to comment.