Skip to content

Commit

Permalink
No OpenMP on CLANG64
Browse files Browse the repository at this point in the history
  • Loading branch information
mmuetzel committed Nov 14, 2024
1 parent 1e7c5ae commit c290dcd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-windows-mingw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ jobs:
-DCMAKE_INSTALL_PREFIX="${GITHUB_WORKSPACE}/usr" \
-DCPACK_BUNDLE_EXTRA_WINDOWS_DLLS=OFF \
-DBLA_VENDOR="OpenBLAS" \
$([ "${{ matrix.msystem }}" == "CLANG64" ] && \
echo "-DOpenMP_Fortran_FLAGS=-fopenmp=libomp -DOpenMP_Fortran_LIB_NAMES=-lomp") \
-DWITH_OpenMP=ON \
-DWITH_LUA=ON \
-DWITH_MPI=ON \
Expand All @@ -115,9 +117,11 @@ jobs:
-DCMAKE_C_FLAGS="-Wno-error=incompatible-pointer-types" \
-DParMetis_LIBRARIES="$(pkg-config --libs parmetis)" \
-DParMetis_INCLUDE_DIR="$(pkg-config --cflags parmetis)" \
-DWITH_Mumps=ON \
-DMumps_LIBRARIES=$(pkg-config -libs mumps-dmo) \
-DMumps_INCLUDE_DIR=$(pkg-config --variable=includedir mumps-dmo) \
$([ "${{ matrix.msystem }}" == "CLANG64" ] && \
echo "-DWITH_Mumps=OFF" || \
echo "-DWITH_Mumps=ON \
-DMumps_LIBRARIES=$(pkg-config -libs mumps-dmo) \
-DMumps_INCLUDE_DIR=$(pkg-config --variable=includedir mumps-dmo)") \
-DWITH_CHOLMOD=ON \
-DWITH_ElmerIce=ON \
-DWITH_ELMERGUI=ON \
Expand Down

0 comments on commit c290dcd

Please sign in to comment.