Skip to content

Commit

Permalink
Update cmake-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andreigh authored Sep 30, 2023
1 parent e9546e8 commit 8ec62bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -S llvm-project/llvm -B llvm-project/llvm/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} "-DLLVM_ENABLE_PROJECTS=clang;mlir" -DLLVM_INSTALL_UTILS=ON -DLLVM_INCLUDE_TESTS=OFF -DLLVM_TARGETS_TO_BUILD=NVPTX;AMDGPU
run: cmake -S llvm-project\llvm -B llvm-project\llvm\build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} "-DLLVM_ENABLE_PROJECTS=clang;mlir" -DLLVM_INSTALL_UTILS=ON -DLLVM_INCLUDE_TESTS=OFF "-DLLVM_TARGETS_TO_BUILD=NVPTX;AMDGPU"

- name: Build LLVM
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/llvm-project/llvm/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}\llvm-project\llvm\build --config ${{env.BUILD_TYPE}}

0 comments on commit 8ec62bf

Please sign in to comment.