Skip to content

Commit

Permalink
Try using libc++
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed May 31, 2024
1 parent 0d8ddf4 commit 37a61b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,15 @@ jobs:
# export CPPFLAGS="-I/usr/local/opt/gcc@13/include/c++/13 -I/usr/local/opt/gcc@13/include/c++/13/x86_64-apple-darwin22";
# export LD_LIBRARY_PATH="/usr/local/opt/gcc@13/lib/gcc/13";
# export DYLD_LIBRARY_PATH="/usr/local/opt/gcc@13/lib/gcc/13";
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++
-DCMAKE_C_COMPILER=/opt/homebrew/opt/llvm/bin/clang
-DCMAKE_CXX_FLAGS="-I/opt/homebrew/lib/gcc/current/gcc/aarch64-apple-darwin23/14 -L/opt/homebrew/lib/gcc/current/gcc/aarch64-apple-darwin23/14 -Wl,-rpath,/opt/homebrew/lib/gcc/current/gcc/aarch64-apple-darwin23/14 -stdlib=libstdc++"
# -DCMAKE_CXX_FLAGS="-I/opt/homebrew/lib/gcc/current/gcc/aarch64-apple-darwin23/14 -L/opt/homebrew/lib/gcc/current/gcc/aarch64-apple-darwin23/14 -Wl,-rpath,/opt/homebrew/lib/gcc/current/gcc/aarch64-apple-darwin23/14 -stdlib=libstdc++"
-DCMAKE_CXX_FLAGS="-I/opt/homebrew/opt/llvm/include -L/opt/homebrew/opt/llvm/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++"
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }} -G Ninja
Expand Down

0 comments on commit 37a61b0

Please sign in to comment.