Skip to content

Commit

Permalink
choco install clang on win may be unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Nov 11, 2024
1 parent 08d894b commit 5764ccf
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,20 @@ jobs:
Invoke-VSDevEnvironment
Get-Command rc.exe | Format-Table -AutoSize
- name: Install Clang with OpenMP support using Chocolatey
if: runner.os == 'Windows'
run: |
choco install -y llvm --params "clang;compiler=clang" --version 18.1.0
$env:PATH = "C:\Program Files\LLVM\bin;$env:PATH"
clang --version
# - name: Install Clang with OpenMP support using Chocolatey
# if: runner.os == 'Windows'
# run: |
# choco install -y llvm --params "clang;compiler=clang" --version 18.1.0
# $env:PATH = "C:\Program Files\LLVM\bin;$env:PATH"
# clang --version

- name: Build wheels via cibuildwheel
uses: pypa/[email protected]
env:
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}*
CIBW_ARCHS: ${{ matrix.buildplat[2] }}
# define CC, CXX so meson will use clang-cl instead of MSVC
# CC: clang-cl
# CXX: clang-cl

# CC: gcc
# CXX: g++
# -Wl,-S equivalent to gcc's -Wl,--strip-debug
Expand Down

0 comments on commit 5764ccf

Please sign in to comment.