|
7 | 7 | branches: [ main ] |
8 | 8 |
|
9 | 9 | env: |
10 | | - OPENBLAS_COMMIT: "v0.3.30" |
| 10 | + OPENBLAS_COMMIT: "v0.3.30-349-gf6df9beb" |
11 | 11 | OPENBLAS_ROOT: "c:\\opt" |
12 | 12 | # Preserve working directory for calls into bash |
13 | 13 | # Without this, invoking bash will cd to the home directory |
@@ -37,25 +37,22 @@ jobs: |
37 | 37 | python-version: 3.12 |
38 | 38 | architecture: arm64 |
39 | 39 |
|
40 | | - - name: Setup visual studio |
41 | | - uses: microsoft/setup-msbuild@v2 |
42 | | - |
43 | | - - name: Download, install 7zip. |
44 | | - run: | |
45 | | - Invoke-WebRequest https://www.7-zip.org/a/7z2409-arm64.exe -UseBasicParsing -OutFile 7z_arm.exe |
46 | | - Start-Process -FilePath ".\7z_arm.exe" -ArgumentList "/S" -Wait |
47 | | - echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append |
48 | | -
|
49 | 40 | - name: Download and install LLVM installer |
50 | 41 | run: | |
51 | | - Invoke-WebRequest https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.5/LLVM-19.1.5-woa64.exe -UseBasicParsing -OutFile LLVM-woa64.exe |
| 42 | + Invoke-WebRequest https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.8/LLVM-20.1.8-woa64.exe -UseBasicParsing -OutFile LLVM-woa64.exe |
52 | 43 | Start-Process -FilePath ".\LLVM-woa64.exe" -ArgumentList "/S" -Wait |
53 | 44 | echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append |
54 | 45 |
|
55 | | - - name: Update CMake for WoA |
| 46 | + - name: Install CMake and Ninja for Win-ARM64 |
| 47 | + shell: pwsh |
56 | 48 | run: | |
57 | | - pip install cmake |
58 | | - get-command cmake |
| 49 | + Invoke-WebRequest https://github.com/Kitware/CMake/releases/download/v3.29.4/cmake-3.29.4-windows-arm64.msi -OutFile cmake-arm64.msi |
| 50 | + Start-Process msiexec.exe -ArgumentList "/i cmake-arm64.msi /quiet /norestart" -Wait |
| 51 | + echo "C:\Program Files\CMake\bin" >> $env:GITHUB_PATH |
| 52 | +
|
| 53 | + Invoke-WebRequest https://github.com/ninja-build/ninja/releases/download/v1.13.1/ninja-winarm64.zip -OutFile ninja-winarm64.zip |
| 54 | + Expand-Archive ninja-winarm64.zip -DestinationPath ninja |
| 55 | + Copy-Item ninja\ninja.exe -Destination "C:\Windows\System32" |
59 | 56 |
|
60 | 57 | - name: Set env variables |
61 | 58 | run: | |
|
70 | 67 | git submodule update --init --recursive |
71 | 68 | .\tools\build_steps_win_arm64.bat 64 ${env:INTERFACE_BITS} |
72 | 69 |
|
73 | | - - name: Pack |
74 | | - run: | |
75 | | - cd local |
76 | | - cp -r "scipy_openblas${env:INTERFACE_BITS}" $env:INTERFACE_BITS |
77 | | - 7z a ../builds/openblas-${env:PLAT}-${env:INTERFACE64}.zip -tzip $env:INTERFACE_BITS |
78 | | -
|
79 | 70 | - name: Test ${{ matrix.INTERFACE_BITS }}-bit interface wheel |
80 | 71 | run: | |
81 | 72 | python -m pip install --no-index --find-links dist scipy_openblas${env:INTERFACE_BITS} |
|
87 | 78 | name: wheels-${{ env.PLAT }}-${{ env.INTERFACE64 }} |
88 | 79 | path: dist/scipy_openblas*.whl |
89 | 80 |
|
90 | | - - uses: actions/upload-artifact@v4.3.0 |
91 | | - with: |
92 | | - name: openblas-${{ env.PLAT }}-${{ env.INTERFACE64 }} |
93 | | - path: builds/openblas*.zip |
94 | | - |
95 | 81 | - name: Install Anaconda client |
96 | 82 | run: | |
97 | 83 | # Rust installation needed for rpds-py. |
|
0 commit comments