Skip to content

Commit

Permalink
Add export CC=... in LLVM Clang python-bindings tests
Browse files Browse the repository at this point in the history
Add `export CC=...`, because otherwise CMake fails to locate a tool
for scanning C++ module dependencies (no matter we don't use modules):
emscripten-core/emscripten#22305
  • Loading branch information
p-senichenkov committed Jan 30, 2025
1 parent df056ba commit e795576
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bindings-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:

- os: ubuntu-latest
toolset: llvm-clang
env: CXX=clang++-17 CXXFLAGS="-stdlib=libc++" LDFLAGS="-lc++abi"
# CMake cannot locate clang-scan-deps without `CC=clang`
# https://github.com/emscripten-core/emscripten/issues/22305
env: CC=clang CXX=clang++-17 CXXFLAGS="-stdlib=libc++" LDFLAGS="-lc++abi"

# Uncomment this to enable macOS gcc tests:
# - os: macos-latest
Expand Down

0 comments on commit e795576

Please sign in to comment.