Skip to content

Commit 55f7ce2

Browse files
committed
Actions: Allow duplicate OpenMp libraries on windows
1 parent 0d7759f commit 55f7ce2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/windows_unit_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ jobs:
107107
run: |
108108
conda activate mhkit_conda_env
109109
echo "PYBIND11_NO_ASSERT_GIL_HELD_INCREF_DECREF=1" >> $GITHUB_ENV
110+
# Allow duplicate OpenMP libraries (MATLAB's libiomp5md.dll + numpy's libomp.dll)
111+
echo "KMP_DUPLICATE_LIB_OK=TRUE" >> $GITHUB_ENV
110112
111113
# Generate run.m using Python to avoid shell encoding issues on Windows
112114
- name: Generate run.m
@@ -307,6 +309,8 @@ jobs:
307309
run: |
308310
conda activate mhkit_conda_env
309311
echo "PYBIND11_NO_ASSERT_GIL_HELD_INCREF_DECREF=1" >> $GITHUB_ENV
312+
# Allow duplicate OpenMP libraries (MATLAB's libiomp5md.dll + numpy's libomp.dll)
313+
echo "KMP_DUPLICATE_LIB_OK=TRUE" >> $GITHUB_ENV
310314
311315
# Generate run.m using Python to avoid shell encoding issues on Windows
312316
- name: Generate run.m

0 commit comments

Comments
 (0)