File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed
recipes/recipes/flang_emscripten-wasm32 Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 44# # https://github.com/serge-sans-paille/llvm-project/blob/feature/flang-wasm/README.wasm.md
55# # https://github.com/conda-forge/flang-feedstock/pull/69
66micromamba install -p $BUILD_PREFIX \
7- conda-forge/label/emscripten::flang==19.1.7 \
7+ conda-forge/label/emscripten::flang==$PKG_VERSION \
88 -y --no-channel-priority
99
1010export FC=flang-new
Original file line number Diff line number Diff line change 77# See: https://github.com/emscripten-forge/recipes/pull/2046
88cp $RECIPE_DIR /libFortranRuntime_emscripten-wasm32.a $PREFIX /lib/
99
10- mkdir -p $PREFIX /etc/conda/activate.d
11- mkdir -p $PREFIX /etc/conda/deactivate.d
12-
13- cp $RECIPE_DIR /activate-flang_emscripten-wasm32.sh $PREFIX /etc/conda/activate.d/
14- cp $RECIPE_DIR /deactivate-flang_emscripten-wasm32.sh $PREFIX /etc/conda/deactivate.d/
10+ # Copy the [de]activate scripts to $PREFIX/etc/conda/[de]activate.d.
11+ # This will allow them to be run on environment activation.
12+ for TASK in " activate" " deactivate"
13+ do
14+ mkdir -p " ${PREFIX} /etc/conda/${TASK} .d"
15+ envsubst ' $PKG_VERSION' < " ${RECIPE_DIR} /${TASK} .sh" > " ${PREFIX} /etc/conda/${TASK} .d/${TASK} _${PKG_NAME} .sh"
16+ done
File renamed without changes.
Original file line number Diff line number Diff line change 77 version : ${{ version }}
88
99build :
10- number : 1
10+ number : 2
1111
1212requirements :
1313 build :
You can’t perform that action at this time.
0 commit comments