Skip to content

Commit 218ad27

Browse files
committed
squash! ci : add ccache to build-wasm
More fixes.
1 parent 63ca99b commit 218ad27

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-wasm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ jobs:
5454

5555
- name: Build
5656
env:
57-
CCACHE_SLOPPINESS: time_macros
57+
CCACHE_SLOPPINESS: time_macros,include_file_mtime,include_file_ctime
5858
CCACHE_COMPILERCHECK: content
5959
run: |
6060
emcmake cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build }} \
6161
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
62-
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
62+
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
63+
"-DCMAKE_C_FLAGS=-ffile-prefix-map=$EMSDK=/emsdk" \
64+
"-DCMAKE_CXX_FLAGS=-ffile-prefix-map=$EMSDK=/emsdk"
6365
cmake --build build -j $(nproc)

0 commit comments

Comments
 (0)