|
11 | 11 | 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
|
12 | 12 | 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
|
13 | 13 | 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
|
| 14 | + LINUX_AIKIT_URL: https://registrationcenter-download.intel.com/akdlm/IRC_NAS/4c0e0228-7d3b-40e2-8a2c-eae82f77b0c8/l_AITools.2024.0.1.3.sh |
14 | 15 | 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
|
15 | 16 | WINDOWS_CPP_COMPONENTS: intel.oneapi.win.cpp-dpcpp-common
|
16 | 17 | WINDOWS_FORTRAN_COMPONENTS: intel.oneapi.win.ifort-compiler
|
|
23 | 24 | LINUX_DPCPP_COMPONENTS_WEB: intel.oneapi.lin.dpcpp-cpp-compiler
|
24 | 25 | MACOS_CPP_COMPONENTS: intel.oneapi.mac.cpp-compiler
|
25 | 26 | MACOS_FORTRAN_COMPONENTS: intel.oneapi.mac.ifort-compiler
|
26 |
| - CACHE_NUMBER: 7 |
| 27 | + CACHE_NUMBER: 6 |
27 | 28 | SAMPLES_TAG: 2024.0.0
|
28 | 29 | COMPILER_VERSION: 2024.0.0
|
29 | 30 | TBB_VERSION: 2021.11.0
|
@@ -249,6 +250,40 @@ jobs:
|
249 | 250 | installer*
|
250 | 251 | retention-days: 7
|
251 | 252 |
|
| 253 | + build_linux_aitools: |
| 254 | + runs-on: ubuntu-20.04 |
| 255 | + defaults: |
| 256 | + run: |
| 257 | + shell: bash |
| 258 | + steps: |
| 259 | + - uses: actions/checkout@v2 |
| 260 | + - name: cache install |
| 261 | + id: cache-install |
| 262 | + uses: actions/cache@v2 |
| 263 | + with: |
| 264 | + path: | |
| 265 | + /intel/oneapi/intelpython |
| 266 | + key: install-${{ env.CACHE_NUMBER }}-${{ env.LINUX_AIKIT_URL }}-compiler-tbb-${{ hashFiles('**/scripts/cache_exclude_linux.sh') }} |
| 267 | + - name: install |
| 268 | + if: steps.cache-install.outputs.cache-hit != 'true' |
| 269 | + run: scripts/install_linux_aitools.sh $LINUX_AIKIT_URL |
| 270 | + - name: build |
| 271 | + run: scripts/build_linux_aitools.sh $SAMPLES_TAG |
| 272 | + - name: exclude unused files from cache |
| 273 | + if: steps.cache-install.outputs.cache-hit != 'true' |
| 274 | + run: scripts/cache_exclude_linux.sh |
| 275 | + |
| 276 | + # Delete the following if you don't want to save install logs |
| 277 | + - name: Saving install logs |
| 278 | + if: steps.cache-install.outputs.cache-hit != 'true' |
| 279 | + uses: actions/upload-artifact@v2 |
| 280 | + with: |
| 281 | + name: InstallLogs_${{ github.job }} |
| 282 | + path: | |
| 283 | + bootstrapper* |
| 284 | + installer* |
| 285 | + retention-days: 7 |
| 286 | + |
252 | 287 | build_linux_apt_cpp:
|
253 | 288 | runs-on: ubuntu-20.04
|
254 | 289 | defaults:
|
|
0 commit comments