Skip to content

Commit

Permalink
Following numba#1035 on updating pipeline files
Browse files Browse the repository at this point in the history
  • Loading branch information
modiking committed Apr 24, 2024
1 parent 4a63bf8 commit 7376017
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
PYTHON: '3.12'
CONDA_ENV: cienv

llvm15:
llvm17:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '15'
LLVM: '17'

- template: buildscripts/azure/azure-linux-macos.yml
parameters:
Expand Down Expand Up @@ -72,10 +72,10 @@ jobs:
CONDA_ENV: cienv
BUILD_DOCS: 'yes'

llvm15:
llvm17:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '15'
LLVM: '17'

- template: buildscripts/azure/azure-windows.yml
parameters:
Expand Down
4 changes: 2 additions & 2 deletions buildscripts/azure/azure-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
PYTHON: '3.12'
CONDA_ENV: cienv

llvm15:
llvm17:
PYTHON: '3.12'
CONDA_ENV: cienv
LLVM: '15'
LLVM: '17'

steps:

Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ call activate %CONDA_ENV%
@rem - https://github.com/conda-forge/llvmdev-feedstock/issues/175
@rem - https://github.com/conda-forge/llvmdev-feedstock/pull/223
@rem - https://github.com/MicrosoftDocs/visualstudio-docs/issues/7774
if "%LLVM%"=="15" (
if "%LLVM%"=="17" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
if %errorlevel% neq 0 exit /b %errorlevel%
)
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/incremental/setup_conda_environment.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ call activate %CONDA_ENV%
if %errorlevel% neq 0 exit /b %errorlevel%

@rem Install llvmdev
if "%LLVM%"=="15" (
if "%LLVM%"=="17" (
set LLVMDEV_CHANNEL="conda-forge"
) else (
set LLVMDEV_CHANNEL="numba/label/dev"
Expand Down
4 changes: 2 additions & 2 deletions buildscripts/incremental/setup_conda_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ source activate $CONDA_ENV
set -v

# Install llvmdev (separate channel, for now)
if [ "$LLVM" == "15" ]; then
$CONDA_INSTALL -c conda-forge llvmdev="15"
if [ "$LLVM" == "17" ]; then
$CONDA_INSTALL -c conda-forge llvmdev="17"
else
$CONDA_INSTALL -c numba/label/dev llvmdev="14.*"
fi
Expand Down

0 comments on commit 7376017

Please sign in to comment.