Skip to content

Commit 12553df

Browse files
authored
Pin compiler and MKL within range for 0.15 release (#1849)
* Pin DPC++ at build-time and DPC++ and MKL at host, and limit range for run-time * Set cmake version to 0.15
1 parent 41bd658 commit 12553df

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 3.21...3.27 FATAL_ERROR)
22

33
project(dpnp
4+
VERSION 0.15
5+
LANGUAGES CXX
46
DESCRIPTION "NumPy-like API accelerated by SYCL."
57
)
68

conda-recipe/meta.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
{% set required_compiler_and_mkl_version = "2024.0" %}
2-
{% set excluded_compiler_version1 = "2024.0.1" %}
3-
{% set excluded_compiler_version2 = "2024.0.2" %}
4-
{% set excluded_compiler_version3 = "2024.0.3" %}
5-
{% set required_dpctl_version = "0.16.0" %}
1+
{% set required_compiler_and_mkl_version = "2024.2.0" %}
2+
{% set required_dpctl_version = "0.17.0a0" %}
63

74
package:
85
name: dpnp
@@ -27,8 +24,7 @@ requirements:
2724
- scikit-build
2825
build:
2926
- {{ compiler('cxx') }}
30-
- {{ compiler('dpcpp') }} >={{ required_compiler_and_mkl_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }},!={{ excluded_compiler_version3 }} # [win]
31-
- {{ compiler('dpcpp') }} >={{ required_compiler_and_mkl_version }},!={{ excluded_compiler_version1 }},!={{ excluded_compiler_version2 }} # [linux]
27+
- {{ compiler('dpcpp') }} {{ required_compiler_and_mkl_version }}
3228
- sysroot_linux-64 >=2.28 # [linux]
3329
run:
3430
- python

0 commit comments

Comments
 (0)