From 6bfc7d6996390af99e78cb11188a74ecc7fa5a04 Mon Sep 17 00:00:00 2001 From: Jesus Hector Robles Gutierrez Date: Fri, 17 Nov 2023 12:10:29 -0800 Subject: [PATCH] Update CI Samples for v2024.0 release Updates links for toolkit samples for v2024.0 release Signed-off-by: Jesus Hector Robles Gutierrez --- .appveyor.yml | 58 +++----------- .azure-pipelines.yml | 96 +++--------------------- .circleci/config.yml | 14 ++-- .github/workflows/build_all.yml | 92 +++-------------------- .github/workflows/list_components.yml | 20 ++--- .gitlab-ci.yml | 16 ++-- .pre-commit-config.yaml | 10 +-- scripts/build_windows.bat | 11 +-- scripts/list_components_linux_aitools.sh | 17 +++++ 9 files changed, 82 insertions(+), 252 deletions(-) create mode 100755 scripts/list_components_linux_aitools.sh diff --git a/.appveyor.yml b/.appveyor.yml index 0767fe26..90e403ab 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,23 +4,20 @@ environment: global: - WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe - WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe - LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh - LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh - MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443_offline.dmg - WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler + WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563_offline.exe + WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588_offline.exe + LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/20f4e6a1-6b0b-4752-b8c1-e5eacba10e01/l_BaseKit_p_2024.0.0.49564_offline.sh + LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/1b2baedd-a757-4a79-8abb-a5bf15adae9a/l_HPCKit_p_2024.0.0.49589_offline.sh + WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler - WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.dpcpp-compiler - LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic + WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common + LINUX_CPP_COMPONENTS: intel-oneapi-dpcpp-cpp-compiler LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran LINUX_DPCPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp - LINUX_CPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler-pro + LINUX_CPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler LINUX_FORTRAN_COMPONENTS_WEB: intel.oneapi.lin.ifort-compiler LINUX_DPCPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler - MACOS_CPP_COMPONENTS: intel.oneapi.mac.cpp-compiler - MACOS_FORTRAN_COMPONENTS: intel.oneapi.mac.ifort-compiler - SAMPLES_TAG: 2023.2.0 + SAMPLES_TAG: 2024.0.0 VS_VER: vs2019 matrix: @@ -51,12 +48,6 @@ environment: - job_name: build_linux_apt_dpcpp appveyor_build_worker_image: ubuntu2004 - - job_name: build_mac_cpp - appveyor_build_worker_image: macos - - - job_name: build_mac_fortran - appveyor_build_worker_image: macos - for: - matrix: @@ -190,34 +181,3 @@ for: scripts/install_linux_apt.sh $LINUX_DPCPP_COMPONENTS build_script: sh: scripts/build_linux.sh dpc++ $SAMPLES_TAG - - - - matrix: - only: - - job_name: build_mac_cpp - install: - sh: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_CPP_COMPONENTS - build_script: - sh: scripts/build_macos.sh c++ $SAMPLES_TAG - - # Delete the following if you don't want to save install logs - artifacts: - - name: InstallLogs - path: | - bootstrapper* - installer* - - - matrix: - only: - - job_name: build_mac_fortran - install: - sh: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_FORTRAN_COMPONENTS - build_script: - sh: scripts/build_macos.sh fortran $SAMPLES_TAG - - # Delete the following if you don't want to save install logs - artifacts: - - name: InstallLogs - path: | - bootstrapper* - installer* diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 37652e0a..7617ce96 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -7,43 +7,37 @@ trigger: variables: - name: WINDOWS_BASEKIT_URL - value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe + value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563_offline.exe - name: WINDOWS_HPCKIT_URL - value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe + value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588_offline.exe - name: LINUX_BASEKIT_URL - value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh + value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/20f4e6a1-6b0b-4752-b8c1-e5eacba10e01/l_BaseKit_p_2024.0.0.49564_offline.sh - name: LINUX_HPCKIT_URL - value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh - - name: MACOS_HPCKIT_URL - value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443_offline.dmg + value: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/1b2baedd-a757-4a79-8abb-a5bf15adae9a/l_HPCKit_p_2024.0.0.49589_offline.sh - name: WINDOWS_CPP_COMPONENTS - value: intel.oneapi.win.cpp-compiler + value: intel.oneapi.win.cpp-dpcpp-common - name: WINDOWS_FORTRAN_COMPONENTS value: intel.oneapi.win.ifort-compiler - name: WINDOWS_DPCPP_COMPONENTS - value: intel.oneapi.win.dpcpp-compiler + value: intel.oneapi.win.cpp-dpcpp-common - name: LINUX_CPP_COMPONENTS - value: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic + value: intel-oneapi-dpcpp-cpp-compiler - name: LINUX_FORTRAN_COMPONENTS value: intel-oneapi-compiler-fortran - name: LINUX_DPCPP_COMPONENTS value: intel-oneapi-compiler-dpcpp-cpp - name: LINUX_CPP_COMPONENTS_WEB - value: intel.oneapi.lin.dpcpp-cpp-compiler-pro + value: intel.oneapi.lin.dpcpp-cpp-compiler - name: LINUX_FORTRAN_COMPONENTS_WEB value: intel.oneapi.lin.ifort-compiler - name: LINUX_DPCPP_COMPONENTS_WEB value: intel.oneapi.lin.dpcpp-cpp-compiler - - name: MACOS_CPP_COMPONENTS - value: intel.oneapi.mac.cpp-compiler - - name: MACOS_FORTRAN_COMPONENTS - value: intel.oneapi.mac.ifort-compiler - name: SAMPLES_TAG - value: 2023.2.0 + value: 2024.0.0 - name: COMPILER_VERSION - value: 2023.2.0 + value: 2024.0.0 - name: TBB_VERSION - value: 2021.10.0 + value: 2021.11.0 - name: VS_VER value: vs2022 @@ -399,71 +393,3 @@ jobs: - bash: scripts/cache_exclude_linux.sh displayName: exclude unused files from cache condition: ne(variables.CACHE_RESTORED, 'true') - -- job: build_macOS_cpp - pool: - vmImage: 'macOS-latest' - steps: - - script: | - sudo mkdir -p /opt/intel - sudo chown $USER /opt/intel - displayName: prepare for cache restore - - task: Cache@2 - inputs: - path: /opt/intel/oneapi - key: '"install" | "$(MACOS_HPCKIT_URL)" | "$(MACOS_CPP_COMPONENTS)"' - cacheHitVar: CACHE_RESTORED - - script: scripts/install_macos.sh $(MACOS_HPCKIT_URL) $(MACOS_CPP_COMPONENTS) - displayName: install - condition: ne(variables.CACHE_RESTORED, 'true') - - script: scripts/build_macos.sh c++ $(SAMPLES_TAG) - displayName: build - - # Delete the following if you don't want to save install logs - - task: CopyFiles@2 - condition: ne(variables.CACHE_RESTORED, 'true') - inputs: - sourceFolder: '$(Build.SourcesDirectory)' - contents: | - bootstrapper* - installer* - targetFolder: '$(Build.ArtifactStagingDirectory)' - - task: PublishBuildArtifacts@1 - condition: ne(variables.CACHE_RESTORED, 'true') - inputs: - pathToPublish: '$(Build.ArtifactStagingDirectory)' - artifactName: InstallLogs_$(Agent.JobName) - -- job: build_macOS_fortran - pool: - vmImage: 'macOS-latest' - steps: - - script: | - sudo mkdir -p /opt/intel - sudo chown $USER /opt/intel - displayName: prepare for cache restore - - task: Cache@2 - inputs: - path: /opt/intel/oneapi - key: '"install" | "$(MACOS_HPCKIT_URL)" | "$(MACOS_FORTRAN_COMPONENTS)"' - cacheHitVar: CACHE_RESTORED - - script: scripts/install_macos.sh $(MACOS_HPCKIT_URL) $(MACOS_FORTRAN_COMPONENTS) - displayName: install - condition: ne(variables.CACHE_RESTORED, 'true') - - script: scripts/build_macos.sh fortran $(SAMPLES_TAG) - displayName: build - - # Delete the following if you don't want to save install logs - - task: CopyFiles@2 - condition: ne(variables.CACHE_RESTORED, 'true') - inputs: - sourceFolder: '$(Build.SourcesDirectory)' - contents: | - bootstrapper* - installer* - targetFolder: '$(Build.ArtifactStagingDirectory)' - - task: PublishBuildArtifacts@1 - condition: ne(variables.CACHE_RESTORED, 'true') - inputs: - pathToPublish: '$(Build.ArtifactStagingDirectory)' - artifactName: InstallLogs_$(Agent.JobName) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89ed069d..4edaaa91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,16 +6,16 @@ version: 2.1 parameters: WINDOWS_BASEKIT_URL: type: string - default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe" + default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563_offline.exe" WINDOWS_HPCKIT_URL: type: string - default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe" + default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588_offline.exe" LINUX_BASEKIT_URL: type: string - default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh" + default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/20f4e6a1-6b0b-4752-b8c1-e5eacba10e01/l_BaseKit_p_2024.0.0.49564_offline.sh" LINUX_HPCKIT_URL: type: string - default: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh" + default: "https://registrationcenter-download.intel.com/akdlm//IRC_NAS/1b2baedd-a757-4a79-8abb-a5bf15adae9a/l_HPCKit_p_2024.0.0.49589_offline.sh" WINDOWS_CPP_COMPONENTS: type: string default: "intel.oneapi.win.cpp-compiler" @@ -45,13 +45,13 @@ parameters: default: "intel.oneapi.lin.dpcpp-cpp-compiler" SAMPLES_TAG: type: string - default: "2023.2.0" + default: "2024.0.0" COMPILER_VERSION: type: string - default: "2023.2.0" + default: "2024.0.0" TBB_VERSION: type: string - default: "2021.10.0" + default: "2021.11.0" VS_VER: type: string default: "vs2017" diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 4a845236..21fedb9b 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -7,26 +7,26 @@ name: build_all on: push env: - WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe - WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe - LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh - LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh + WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563_offline.exe + WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588_offline.exe + LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/20f4e6a1-6b0b-4752-b8c1-e5eacba10e01/l_BaseKit_p_2024.0.0.49564_offline.sh + LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/1b2baedd-a757-4a79-8abb-a5bf15adae9a/l_HPCKit_p_2024.0.0.49589_offline.sh MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443_offline.dmg - WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler + WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler - WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.dpcpp-compiler - LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic + WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common + LINUX_CPP_COMPONENTS: intel-oneapi-dpcpp-cpp-compiler LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran LINUX_DPCPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp - LINUX_CPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler-pro + LINUX_CPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler LINUX_FORTRAN_COMPONENTS_WEB: intel.oneapi.lin.ifort-compiler LINUX_DPCPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler MACOS_CPP_COMPONENTS: intel.oneapi.mac.cpp-compiler MACOS_FORTRAN_COMPONENTS: intel.oneapi.mac.ifort-compiler - CACHE_NUMBER: 8 - SAMPLES_TAG: 2023.2.0 - COMPILER_VERSION: 2023.2.0 - TBB_VERSION: 2021.10.0 + CACHE_NUMBER: 7 + SAMPLES_TAG: 2024.0.0 + COMPILER_VERSION: 2024.0.0 + TBB_VERSION: 2021.11.0 VS_VER: vs2022 jobs: @@ -421,71 +421,3 @@ jobs: - name: exclude unused files from cache if: steps.cache-install.outputs.cache-hit != 'true' run: scripts/cache_exclude_linux.sh - - build_macos_cpp: - runs-on: macos-latest - defaults: - run: - shell: bash - steps: - - uses: actions/checkout@v2 - - name: prepare for cache restore - run: | - sudo mkdir -p /opt/intel - sudo chown $USER /opt/intel - - name: cache install - id: cache-install - uses: actions/cache@v2 - with: - path: /opt/intel/oneapi - key: install-${{ env.MACOS_HPCKIT_URL }}-${{ env.MACOS_CPP_COMPONENTS }} - - name: install - if: steps.cache-install.outputs.cache-hit != 'true' - run: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_CPP_COMPONENTS - - name: build - run: scripts/build_macos.sh c++ $SAMPLES_TAG - - # Delete the following if you don't want to save install logs - - name: Saving install logs - if: steps.cache-install.outputs.cache-hit != 'true' - uses: actions/upload-artifact@v2 - with: - name: InstallLogs_${{ github.job }} - path: | - bootstrapper* - installer* - retention-days: 7 - - build_macos_fortran: - runs-on: macos-latest - defaults: - run: - shell: bash - steps: - - uses: actions/checkout@v2 - - name: prepare for cache restore - run: | - sudo mkdir -p /opt/intel - sudo chown $USER /opt/intel - - name: cache install - id: cache-install - uses: actions/cache@v2 - with: - path: /opt/intel/oneapi - key: install-${{ env.MACOS_HPCKIT_URL }}-${{ env.MACOS_FORTRAN_COMPONENTS }} - - name: install - if: steps.cache-install.outputs.cache-hit != 'true' - run: scripts/install_macos.sh $MACOS_HPCKIT_URL $MACOS_FORTRAN_COMPONENTS - - name: build - run: scripts/build_macos.sh fortran $SAMPLES_TAG - - # Delete the following if you don't want to save install logs - - name: Saving install logs - if: steps.cache-install.outputs.cache-hit != 'true' - uses: actions/upload-artifact@v2 - with: - name: InstallLogs_${{ github.job }} - path: | - bootstrapper* - installer* - retention-days: 7 diff --git a/.github/workflows/list_components.yml b/.github/workflows/list_components.yml index 74b0838c..05b1c8a0 100644 --- a/.github/workflows/list_components.yml +++ b/.github/workflows/list_components.yml @@ -11,18 +11,18 @@ on: - cron: '0 0 * * *' env: - WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396.exe - WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441.exe + WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563.exe + WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588.exe WINDOWS_IOTKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/dbdf4222-ff39-4c53-9b1a-23585f9a5e25/w_IoTKit_p_2023.2.0.49274.exe - WINDOWS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b80ac7cd-0ef8-45b3-ad1f-2e8504113c34/w_RenderKit_p_2023.2.0.49368.exe - LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397.sh - LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440.sh + WINDOWS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b2a07c39-3374-4a4a-b1d0-56bbcb93ddce/w_RenderKit_p_2024.0.0.49657.exe + LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/20f4e6a1-6b0b-4752-b8c1-e5eacba10e01/l_BaseKit_p_2024.0.0.49564.sh + LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/1b2baedd-a757-4a79-8abb-a5bf15adae9a/l_HPCKit_p_2024.0.0.49589.sh LINUX_IOTKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/792937e1-5667-47a9-a9df-e1142fce55b5/l_IoTKit_p_2023.2.0.49273.sh - LINUX_AIKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/af4bc50d-898e-45a4-8f7d-378448ba294a/l_AIKit_p_2023.2.0.48997.sh - LINUX_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/a75957c3-0cf8-4385-8913-07b33324f7fb/l_RenderKit_p_2023.2.0.49367.sh + LINUX_AIKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/249dd907-b3ed-4aae-a9d2-f8e303c02dbe/l_AITools.2024.0.0.21.sh + LINUX_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/18e978f0-5a80-4006-bf34-207f205b8f4f/l_RenderKit_p_2024.0.0.49659.sh MACOS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/cd013e6c-49c4-488b-8b86-25df6693a9b7/m_BaseKit_p_2023.2.0.49398.dmg MACOS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/edb4dc2f-266f-47f2-8d56-21bc7764e119/m_HPCKit_p_2023.2.0.49443.dmg - MACOS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0510c852-f273-4e43-b8d6-9076cbc0dd34/m_RenderKit_p_2023.2.0.49370.dmg + MACOS_RENDERKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/c8679a2f-fe17-4879-8d53-e4866060d38e/m_RenderKit_p_2024.0.0.49658.dmg jobs: windows: @@ -66,8 +66,8 @@ jobs: run: scripts/list_components_linux.sh $LINUX_HPCKIT_URL doc/source/${{ github.workflow }}/${{ github.job }}_hpckit.txt - name: Intel® oneAPI IoT Toolkit run: scripts/list_components_linux.sh $LINUX_IOTKIT_URL doc/source/${{ github.workflow }}/${{ github.job }}_iotkit.txt - - name: Intel® AI Analytics Toolkit - run: scripts/list_components_linux.sh $LINUX_AIKIT_URL doc/source/${{ github.workflow }}/${{ github.job }}_aikit.txt + - name: Intel® AI Tools Toolkit + run: scripts/list_components_linux_aitools.sh $LINUX_AIKIT_URL - name: Intel® oneAPI Rendering Toolkit run: scripts/list_components_linux.sh $LINUX_RENDERKIT_URL doc/source/${{ github.workflow }}/${{ github.job }}_renderkit.txt diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 730ead5f..1dfe98aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,10 +6,10 @@ stages: - build variables: - WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/f96c71db-2c6c-45d9-8c1f-0348ef5885cf/w_BaseKit_p_2023.2.0.49396_offline.exe - WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/438527fc-7140-422c-a851-389f2791816b/w_HPCKit_p_2023.2.0.49441_offline.exe - LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/992857b9-624c-45de-9701-f6445d845359/l_BaseKit_p_2023.2.0.49397_offline.sh - LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/0722521a-34b5-4c41-af3f-d5d14e88248d/l_HPCKit_p_2023.2.0.49440_offline.sh + WINDOWS_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/62641e01-1e8d-4ace-91d6-ae03f7f8a71f/w_BaseKit_p_2024.0.0.49563_offline.exe + WINDOWS_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/5b36181e-4974-4733-91c7-0c10c54900a5/w_HPCKit_p_2024.0.0.49588_offline.exe + LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/20f4e6a1-6b0b-4752-b8c1-e5eacba10e01/l_BaseKit_p_2024.0.0.49564_offline.sh + LINUX_HPCKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/1b2baedd-a757-4a79-8abb-a5bf15adae9a/l_HPCKit_p_2024.0.0.49589_offline.sh WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-compiler WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler WINDOWS_DPCPP_COMPONENTS: intel.oneapi.win.dpcpp-compiler @@ -19,10 +19,10 @@ variables: LINUX_CPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler-pro LINUX_FORTRAN_COMPONENTS_WEB: intel.oneapi.lin.ifort-compiler LINUX_DPCPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler - CACHE_NUMBER: 14 - SAMPLES_TAG: 2023.2.0 - COMPILER_VERSION: "2023.2.0" - TBB_VERSION: "2021.10.0" + CACHE_NUMBER: 10 + SAMPLES_TAG: 2024.0.0 + COMPILER_VERSION: "2024.0.0" + TBB_VERSION: "2021.11.0" VS_VER: 2019_build_tools .shared_windows_runners: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 44824f5a..889798f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,18 +13,18 @@ repos: hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.2.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/pycqa/doc8 - rev: v1.0.0 + rev: v1.1.1 hooks: - id: doc8 - repo: https://github.com/pycqa/isort @@ -36,11 +36,11 @@ repos: hooks: - id: clang-format - repo: https://github.com/fsfe/reuse-tool - rev: v0.14.0 + rev: v2.1.0 hooks: - id: reuse - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.8.0.4 + rev: v0.9.0.6 hooks: - id: shellcheck args: [-x, --exclude=SC2001, --exclude=SC2164, --exclude=SC1091] diff --git a/scripts/build_windows.bat b/scripts/build_windows.bat index 56a06732..63ff2f0e 100644 --- a/scripts/build_windows.bat +++ b/scripts/build_windows.bat @@ -28,11 +28,6 @@ goto exit :cpp cd oneAPI-samples\DirectProgramming\C++\CompilerInfrastructure\Intrinsics -icl -O2 src\intrin_dot_sample.cpp -icl -O2 src\intrin_double_sample.cpp -icl -O2 src\intrin_ftz_sample.cpp -intrin_dot_sample.exe && intrin_double_sample.exe && intrin_ftz_sample.exe -set RESULT=%ERRORLEVEL% del intrin_dot_sample.exe intrin_double_sample.exe intrin_ftz_sample.exe icx -O2 -msse3 src\intrin_dot_sample.cpp icx -O2 -msse3 src\intrin_double_sample.cpp @@ -43,10 +38,10 @@ goto exit :fortran cd oneAPI-samples\DirectProgramming\Fortran\CombinationalLogic\openmp-primes -ifort -O2 -fpp -qopenmp src\openmp_sample.f90 +ifort -O2 -fpp /Qopenmp src\openmp_sample.f90 openmp_sample.exe set RESULT=%ERRORLEVEL% -ifx -O2 -fpp -qopenmp src\openmp_sample.f90 +ifx -O2 -fpp /Qopenmp src\openmp_sample.f90 openmp_sample.exe set /a RESULT=%RESULT%+%ERRORLEVEL% goto exit @@ -59,7 +54,7 @@ mkdir build cd build cmake -G "NMake Makefiles" .. nmake cpu-gpu -vector-add-buffers +vector-add-buffers.exe set RESULT=%ERRORLEVEL% goto exit diff --git a/scripts/list_components_linux_aitools.sh b/scripts/list_components_linux_aitools.sh new file mode 100755 index 00000000..572e0614 --- /dev/null +++ b/scripts/list_components_linux_aitools.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# SPDX-FileCopyrightText: 2020 Intel Corporation +# +# SPDX-License-Identifier: MIT + +URL=$1 + +curl --output webimage.sh --url "$URL" --retry 5 --retry-delay 5 +chmod +x webimage.sh +./webimage.sh -b -p webimage_extracted +installer_exit_code=$? +rm -rf webimage.sh +WEBIMAGE_NAME=$(ls -1 webimage_extracted/) +echo "$WEBIMAGE_NAME" +rm -rf webimage_extracted +exit $installer_exit_code