Skip to content

Commit

Permalink
Merge pull request #116 from ax3l/fix-win-clangcl-omp
Browse files Browse the repository at this point in the history
CI: Update Clang-Cl w/ OpenMP
  • Loading branch information
ax3l authored May 8, 2024
2 parents 78d2c55 + 5c6e13b commit 74a44d8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: MSVC C++17 w/o Fortran w/o MPI
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build & Install
run: |
cd ExampleCodes
Expand All @@ -28,15 +28,16 @@ jobs:
name: Clang C++17 w/o Fortran w/o MPI
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: seanmiddleditch/gha-setup-ninja@master
- uses: actions/checkout@v4
- name: Build & Install
shell: cmd
env:
CMAKE_GENERATOR_TOOLSET: "ClangCl"
CMAKE_GENERATOR: "Visual Studio 17 2022"
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\vc\Auxiliary\build\vcvarsall.bat" x64
cd ExampleCodes
cmake -S . -B build ^
-T "ClangCl" ^
-DCMAKE_BUILD_TYPE=Release ^
-DBUILD_SHARED_LIBS=ON ^
-DCMAKE_VERBOSE_MAKEFILE=ON ^
Expand Down

0 comments on commit 74a44d8

Please sign in to comment.