Skip to content

Commit

Permalink
Merge pull request #1739 from IntelPython/backport-compiler-pinning
Browse files Browse the repository at this point in the history
Require 2024.2.0 DPC++ compiler
  • Loading branch information
oleksandr-pavlyk authored Jul 19, 2024
2 parents a365cff + c0df9e4 commit 28a231e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ jobs:
- name: Install example requirements
shell: bash -l {0}
env:
DPCPP_CMPLR: dpcpp_linux-64">=2024.1"
DPCPP_CMPLR: dpcpp_linux-64">=2024.2"
run: |
CHANNELS="${{ env.CHANNELS }}"
. $CONDA/etc/profile.d/conda.sh
Expand Down
8 changes: 2 additions & 6 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{% set required_compiler_version = "2024.0" %}
{% set excluded_compiler_version1 = "2024.0.1" %}
{% set excluded_compiler_version2 = "2024.0.2" %}
{% set excluded_compiler_version3 = "2024.0.3" %}
{% set required_compiler_version = "2024.2.0" %}

{% set pyproject = load_file_data('pyproject.toml') %}
{% set py_build_deps = pyproject.get('build-system', {}).get('requires', []) %}
Expand All @@ -23,8 +20,7 @@ requirements:
# TODO: keep in sync with /pyproject.toml
build:
- {{ compiler('cxx') }}
- {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }},!={{ excluded_compiler_version3 }} # [win]
- {{ compiler('dpcpp') }} >={{ required_compiler_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [linux]
- {{ compiler('dpcpp') }} {{ required_compiler_version }}
- sysroot_linux-64 >=2.28 # [linux]
host:
- python
Expand Down

0 comments on commit 28a231e

Please sign in to comment.