File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -1230,13 +1230,7 @@ jobs:
12301230 micromamba create -f environment-wasm.yml --platform=emscripten-wasm32
12311231
12321232 export EMPACK_PREFIX=$MAMBA_ROOT_PREFIX/envs/CppInterOp-wasm-build
1233- #FIXME: Remove hardcoding of PREFIX path
1234- os="${{ matrix.os }}"
1235- if [[ "${os}" == "macos"* ]]; then
1236- export PREFIX=/Users/runner/micromamba-root/envs/CppInterOp-wasm
1237- else
1238- export PREFIX=/home/runner/micromamba-root/envs/CppInterOp-wasm
1239- fi
1233+ export PREFIX=$MAMBA_ROOT_PREFIX/envs/CppInterOp-wasm
12401234 export CMAKE_PREFIX_PATH=$PREFIX
12411235 export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX
12421236
@@ -1275,7 +1269,7 @@ jobs:
12751269 emcmake cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
12761270 -DUSE_CLING=OFF \
12771271 -DUSE_REPL=ON \
1278- -DCMAKE_PREFIX_PATH="/home/runner/micromamba-root/envs/CppInterOp-wasm/" \
1272+ -DCMAKE_PREFIX_PATH=$PREFIX \
12791273 -DLLVM_DIR=$LLVM_BUILD_DIR/lib/cmake/llvm \
12801274 -DClang_DIR=$LLVM_BUILD_DIR/lib/cmake/clang \
12811275 -DBUILD_SHARED_LIBS=OFF \
You can’t perform that action at this time.
0 commit comments