Skip to content

Commit af95082

Browse files
Check llvm-openmp linkage
1 parent be607c4 commit af95082

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/conda-package-cf.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
"${CHANNELS[@]}" \
7777
conda-recipe-cf
7878
79+
- name: Check llvm-openmp linkage
80+
run: |
81+
ls -la "$CONDA_PREFIX/lib/libgomp"* "$CONDA_PREFIX/lib/libiomp5"* "$CONDA_PREFIX/lib/libomp.so"
82+
ldd "$CONDA_PREFIX/lib/python${{ matrix.python }}/site-packages/mkl_fft/_pydfti"*.so | grep omp
83+
7984
- name: Upload artifact
8085
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8186
with:
@@ -210,6 +215,12 @@ jobs:
210215
run: |
211216
conda build --no-test --python ${{ matrix.python }} --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
212217
218+
- name: Check llvm-openmp linkage
219+
shell: bash -l {0}
220+
run: |
221+
ls -la "$CONDA_PREFIX/Library/bin/libiomp5md.dll" "$CONDA_PREFIX/Library/bin/libomp.dll" || true
222+
python -c "import mkl_fft; print('import OK')"
223+
213224
- name: Store conda paths as envs
214225
shell: bash -l {0}
215226
run: |

0 commit comments

Comments
 (0)