From 5fbbc5fa6862372c95de95055fa83b96be70e26d Mon Sep 17 00:00:00 2001 From: akhursev Date: Mon, 26 Sep 2022 09:01:59 -0700 Subject: [PATCH] 2022.3 oneAPI release promotion (#32786) In addition to the new release, made intel-oneapi-compilers-classic version number match the compiler version number, instead of the version of the package that contains it. Co-authored-by: Robert Cohn --- .../packages/intel-oneapi-advisor/package.py | 6 +++++ .../packages/intel-oneapi-ccl/package.py | 6 +++++ .../intel-oneapi-compilers-classic/package.py | 22 ++++++++++--------- .../intel-oneapi-compilers/package.py | 11 ++++++++++ .../packages/intel-oneapi-dal/package.py | 6 +++++ .../packages/intel-oneapi-dnn/package.py | 6 +++++ .../packages/intel-oneapi-dpct/package.py | 6 +++++ .../packages/intel-oneapi-dpl/package.py | 6 +++++ .../intel-oneapi-inspector/package.py | 6 +++++ .../packages/intel-oneapi-ipp/package.py | 6 +++++ .../packages/intel-oneapi-ippcp/package.py | 6 +++++ .../packages/intel-oneapi-itac/package.py | 6 +++++ .../packages/intel-oneapi-mkl/package.py | 6 +++++ .../packages/intel-oneapi-mpi/package.py | 6 +++++ .../packages/intel-oneapi-tbb/package.py | 6 +++++ .../packages/intel-oneapi-vpl/package.py | 6 +++++ .../packages/intel-oneapi-vtune/package.py | 6 +++++ 17 files changed, 113 insertions(+), 10 deletions(-) diff --git a/var/spack/repos/builtin/packages/intel-oneapi-advisor/package.py b/var/spack/repos/builtin/packages/intel-oneapi-advisor/package.py index 33ba3ed277..e222ce638d 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-advisor/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-advisor/package.py @@ -27,6 +27,12 @@ class IntelOneapiAdvisor(IntelOneApiPackage): ) if platform.system() == "Linux": + version( + "2022.3.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18872/l_oneapi_advisor_p_2022.3.0.8704_offline.sh", + sha256="ae1e542e6030b04f70f3b9831b5e92def97ce4692c974da44e7e9d802f25dfa7", + expand=False, + ) version( "2022.1.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18730/l_oneapi_advisor_p_2022.1.0.171_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py index db319c8b82..f373af03c8 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py @@ -30,6 +30,12 @@ class IntelOneapiCcl(IntelOneApiLibraryPackage): depends_on("intel-oneapi-mpi") if platform.system() == "Linux": + version( + "2021.7.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18891/l_oneapi_ccl_p_2021.7.0.8733_offline.sh", + sha256="a0e64db03868081fe075afce8abf4cb94236effc6c52e5049118cfb2ef81a6c7", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18697/l_oneapi_ccl_p_2021.6.0.568.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py index 9b1f585bc6..9e2fc38315 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers-classic/package.py @@ -21,17 +21,19 @@ class IntelOneapiCompilersClassic(Package): phases = [] - for ver in [ - "2022.1.0", - "2022.0.2", - "2022.0.1", - "2021.4.0", - "2021.3.0", - "2021.2.0", - "2021.1.2", - ]: + # Versions before 2021 are in the `intel` package + # intel-oneapi versions before 2022 use intel@19.0.4 + for ver, oneapi_ver in { + "2021.1.2": "2021.1.2", + "2021.2.0": "2021.2.0", + "2021.3.0": "2021.3.0", + "2021.4.0": "2021.4.0", + "2021.5.0": "2022.0.1:2022.0.2", + "2021.6.0": "2022.1.0", + "2021.7.0": "2022.2.0", + }.items(): version(ver) - depends_on("intel-oneapi-compilers@" + ver, when="@" + ver, type="run") + depends_on("intel-oneapi-compilers@" + oneapi_ver, when="@" + ver, type="run") def setup_run_environment(self, env): """Adds environment variables to the generated module file. diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py index bcb410cf7d..a4e85c77de 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py @@ -9,6 +9,17 @@ from spack.package import * linux_versions = [ + { + "version": "2022.2.0", + "cpp": { + "url": "https://registrationcenter-download.intel.com/akdlm/irc_nas/18849/l_dpcpp-cpp-compiler_p_2022.2.0.8772_offline.sh", + "sha256": "8ca97f7ea8abf7876df6e10ce2789ea8cbc310c100ad7bf0b5ffccc4f3c7f2c9", + }, + "ftn": { + "url": "https://registrationcenter-download.intel.com/akdlm/irc_nas/18909/l_fortran-compiler_p_2022.2.0.8773_offline.sh", + "sha256": "4054e4bf5146d55638d21612396a19ea623d22cbb8ac63c0a7150773541e0311", + }, + }, { "version": "2022.1.0", "cpp": { diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py index 9ee247749f..7ed60a6be7 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py @@ -29,6 +29,12 @@ class IntelOneapiDal(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2021.7.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18895/l_daal_oneapi_p_2021.7.0.8746_offline.sh", + sha256="c18e68df120c2b1db17877cfcbb1b5c93a47b2f4756a3444c663d0f03be4eee3", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18698/l_daal_oneapi_p_2021.6.0.915_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py index 160c882af8..7d0602d370 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py @@ -29,6 +29,12 @@ class IntelOneapiDnn(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2022.2.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18933/l_onednn_p_2022.2.0.8750_offline.sh", + sha256="920833cd1f05f2fdafb942c96946c3925eb734d4458d52f22f2cc755133cb9e0", + expand=False, + ) version( "2022.1.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18725/l_onednn_p_2022.1.0.132_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py index ff59ad18f6..b35db04006 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-dpct/package.py @@ -22,6 +22,12 @@ class IntelOneapiDpct(IntelOneApiPackage): homepage = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html#gs.2p8km6" if platform.system() == "Linux": + version( + "2022.2.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18908/l_dpcpp-ct_p_2022.2.0.8701_offline.sh", + sha256="ca79b89ba4b97accb868578a1b7ba0e38dc5e4457d45c6c2552ba33d71b52128", + expand=False, + ) version( "2022.1.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18746/l_dpcpp-ct_p_2022.1.0.172_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dpl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dpl/package.py index 2ed5721f29..41279fceed 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-dpl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-dpl/package.py @@ -25,6 +25,12 @@ class IntelOneapiDpl(IntelOneApiLibraryPackage): homepage = "https://github.com/oneapi-src/oneDPL" if platform.system() == "Linux": + version( + "2021.7.1", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18846/l_oneDPL_p_2021.7.1.8713_offline.sh", + sha256="275c935427e3ad0eb995034b05ff2ffd13c55ee58069c3702aa383f68a1e5485", + expand=False, + ) version( "2021.7.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18752/l_oneDPL_p_2021.7.0.631_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py b/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py index 36923e09fc..bd0d479099 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-inspector/package.py @@ -27,6 +27,12 @@ class IntelOneapiInspector(IntelOneApiPackage): homepage = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/inspector.html" if platform.system() == "Linux": + version( + "2022.3.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18924/l_inspector_oneapi_p_2022.3.0.8706_offline.sh", + sha256="c239b93769afae0ef5f7d3b8584d739bf4a839051bd428f1e6be3e8ca5d4aefa", + expand=False, + ) version( "2022.1.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18712/l_inspector_oneapi_p_2022.1.0.123_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py b/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py index 2342a236aa..971e0234c9 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py @@ -30,6 +30,12 @@ class IntelOneapiIpp(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2021.6.1", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18925/l_ipp_oneapi_p_2021.6.1.8749_offline.sh", + sha256="3f8705bf57c07b71d822295bfad49b531a38b6c3a4ca1119e4c52236cb664f57", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18748/l_ipp_oneapi_p_2021.6.0.626_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py b/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py index 1ac8c9dad8..f983abcdb2 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py @@ -31,6 +31,12 @@ class IntelOneapiIppcp(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2021.6.1", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18923/l_ippcp_oneapi_p_2021.6.1.8714_offline.sh", + sha256="a83c2e74f78ea00aae877259df38baab31e78bc04c0a387a1de36fff712eb225", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18709/l_ippcp_oneapi_p_2021.6.0.536_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-itac/package.py b/var/spack/repos/builtin/packages/intel-oneapi-itac/package.py index cbe8216c8c..0110f05b16 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-itac/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-itac/package.py @@ -30,6 +30,12 @@ class IntelOneapiItac(IntelOneApiPackage): maintainers = ["rscohn2"] if platform.system() == "Linux": + version( + "2021.7.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18886/l_itac_oneapi_p_2021.7.0.8707_offline.sh", + sha256="719faeccfb1478f28110b72b1558187590a6f44cce067158f407ab335a7395bd", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18694/l_itac_oneapi_p_2021.6.0.434_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py index 4d52e7347a..0d227b3952 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py @@ -27,6 +27,12 @@ class IntelOneapiMkl(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2022.2.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18898/l_onemkl_p_2022.2.0.8748_offline.sh", + sha256="07d7caedd4b9f025c6fd439a0d2c2f279b18ecbbb63cadb864f6c63c1ed942db", + expand=False, + ) version( "2022.1.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18721/l_onemkl_p_2022.1.0.223_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py index 08ef7fa3dc..c58320d72e 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py @@ -26,6 +26,12 @@ class IntelOneapiMpi(IntelOneApiLibraryPackage): homepage = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/mpi-library.html" if platform.system() == "Linux": + version( + "2021.7.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18926/l_mpi_oneapi_p_2021.7.0.8711_offline.sh", + sha256="4eb1e1487b67b98857bc9b7b37bcac4998e0aa6d1b892b2c87b003bf84fb38e9", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18714/l_mpi_oneapi_p_2021.6.0.602_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py b/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py index c558ef0c7e..e8df02c63d 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py @@ -25,6 +25,12 @@ class IntelOneapiTbb(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2021.7.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18901/l_tbb_oneapi_p_2021.7.0.8712_offline.sh", + sha256="879bd2004b8e93bc12c53c43eab44cd843433e3da7a976baa8bf07a1069a87c5", + expand=False, + ) version( "2021.6.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18728/l_tbb_oneapi_p_2021.6.0.835_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py index cf77f1c9c5..8951cac6c3 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py @@ -28,6 +28,12 @@ class IntelOneapiVpl(IntelOneApiLibraryPackage): ) if platform.system() == "Linux": + version( + "2022.2.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18903/l_oneVPL_p_2022.2.0.8703_offline.sh", + sha256="cb8af222d194ebb4b1dafe12e0b70cbbdee204f9fcfe9eafb46b287ee33b3797", + expand=False, + ) version( "2022.1.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18750/l_oneVPL_p_2022.1.0.154_offline.sh", diff --git a/var/spack/repos/builtin/packages/intel-oneapi-vtune/package.py b/var/spack/repos/builtin/packages/intel-oneapi-vtune/package.py index b20fc56389..361c3f090d 100644 --- a/var/spack/repos/builtin/packages/intel-oneapi-vtune/package.py +++ b/var/spack/repos/builtin/packages/intel-oneapi-vtune/package.py @@ -28,6 +28,12 @@ class IntelOneapiVtune(IntelOneApiPackage): homepage = "https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/vtune-profiler.html" if platform.system() == "Linux": + version( + "2022.4.0", + url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18888/l_oneapi_vtune_p_2022.4.0.8705_offline.sh", + sha256="8c5a144ed61ef9addaa41abe7fbfceeedb6a8fe1c5392e3e265aada1f545b0fe", + expand=False, + ) version( "2022.3.0", url="https://registrationcenter-download.intel.com/akdlm/irc_nas/18656/l_oneapi_vtune_p_2022.3.0.195_offline.sh",