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 <robert.s.cohn@intel.com>
This commit is contained in:
parent
494946d020
commit
5fbbc5fa68
17 changed files with 113 additions and 10 deletions
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue