Package Details: intel-oneapi-hpckit 2025.0.1-1

Git Clone URL: https://aur.archlinux.org/intel-oneapi-hpckit.git (read-only, click to copy)
Package Base: intel-oneapi-hpckit
Description: Intel oneAPI Base and HPC Toolkit for Linux
Upstream URL: https://software.intel.com/content/www/us/en/develop/tools/oneapi.html
Keywords: compiler intel oneapi
Licenses: custom:eula
Conflicts: intel-oneapi-basekit
Provides: intel-oneapi-advisor, intel-oneapi-ccl, intel-oneapi-compiler-dpcpp-cpp-runtime, intel-oneapi-compiler-dpcpp-cpp-runtime-libs, intel-oneapi-compiler-shared, intel-oneapi-compiler-shared-opencl-cpu, intel-oneapi-compiler-shared-runtime, intel-oneapi-compiler-shared-runtime-libs, intel-oneapi-dal, intel-oneapi-dev-utilities, intel-oneapi-dnnl, intel-oneapi-dpcpp-cpp, intel-oneapi-dpcpp-cpp-compiler, intel-oneapi-dpcpp-debugger, intel-oneapi-dpl, intel-oneapi-fpga-group, intel-oneapi-ipp, intel-oneapi-ippcp, intel-oneapi-mkl, intel-oneapi-openmp, intel-oneapi-tbb, intel-oneapi-vpl, intel-oneapi-vtune
Submitter: kelen
Maintainer: kelen
Last Packager: kelen
Votes: 3
Popularity: 0.032053
First Submitted: 2024-01-08 17:27 (UTC)
Last Updated: 2025-03-02 07:39 (UTC)

Dependencies (9)

Required by (68)

Sources (2)

Latest Comments

bash000000 commented on 2026-01-20 06:48 (UTC)

continue

package() {

  ## We have to run as a user different from root
  ## otherwise the installer wants to write to /opt, /var
  ## which is not possible in fakeroot.

  ## The directory has to be removed first, otherwise the installer
  ## will complain that some components are already installed.

  # Notice: may need to use sudo to run runuser in case of building with failure in fakeroot
  # Uncomment the following function and add sudo before runuser command if needed
  # runuser() {
  #   sudo runuser "$@"
  # }
  runuser -u $USER -- rm -rf /home/$USER/intel
  runuser -u $USER -- sh "intel-oneapi-base-toolkit-${pkgver_base}_offline.sh" -a \
    --silent --eula accept \
    --components all \
    --install-dir "${pkgdir}"/opt/intel/oneapi \
    --log-dir "${srcdir}"/ --ignore-errors
  ## Delete the directory again, Sometimes HPCKit installer may not
  ## be able to install new components in same directory as BaseKit.
  ## I only saw this happen once in wsl, removing the directory will
  ## be safe but slow.
  # runuser -u $USER -- rm -rf /home/$USER/intel

  runuser -u $USER -- sh "intel-oneapi-hpc-toolkit-${pkgver_hpc}_offline.sh" -a \
    --silent --eula accept \
    --components all \
    --install-dir "${pkgdir}"/opt/intel/oneapi \
    --log-dir "${srcdir}"/ --ignore-errors
  # Clean up
  runuser -u $USER -- rm -rf /home/$USER/intel
  rm -rf "${pkgdir}/opt/intel/oneapi/logs"

  ## allow low level compiler libs to be found
  local _lib_path='/opt/intel/oneapi/compiler'
  local _ldso_conf="${pkgdir}"/etc/ld.so.conf.d
  install -d "${_ldso_conf}"
  echo "${_lib_path}/latest/lib" >>"${_ldso_conf}/${pkgname}.conf"
  echo "${_lib_path}/latest/lib/x64" >>"${_ldso_conf}/${pkgname}.conf"
  echo "${_lib_path}/latest/compiler/lib/intel64" >>"${_ldso_conf}/${pkgname}.conf"

  ## Collection of licenses used in OneAPI with pointers for all toolkits
  install -Dm644 "${pkgdir}/opt/intel/oneapi/licensing/latest/licensing/${_major_ver}.${_minor_ver}/license.htm" \
    "${pkgdir}/usr/share/licenses/${pkgname}/license.htm"
  rm -rf "${pkgdir}/opt/intel/oneapi/logs/"
  ln -s /opt/intel/oneapi/${_major_ver}.${_minor_ver} "${pkgdir}/opt/intel/oneapi/latest"
  ## This will create a script in /etc/profile.d/intel-oneapi-hpckit.sh that sets the
  ## environment variables for the current shell by append path /opt/intel/oneapi/latest/bin to PATH and set ONEAPI_ROOT etc.
  install -dm755 "$pkgdir/etc/profile.d/"
  cp "intel-oneapi-hpckit.sh" "$pkgdir/etc/profile.d/intel-oneapi-hpckit.sh"

}

intel-oneapi-hpckit.sh

export ONEAPI_ROOT="/opt/intel/oneapi"
append_path '/opt/intel/oneapi/latest/bin'
export PATH

bash000000 commented on 2026-01-20 06:47 (UTC)

This is latest PKGBUILD while this package out of date

# Maintainer: Yingchang Liu <yingchangliu at outlook dot com>
# Modified from the intel-oneapi-basekit package in the official repository.
pkgname=intel-oneapi-hpckit
_major_ver=2025
_minor_ver=3
_patch_ver=0
pkgver=$_major_ver.$_minor_ver.$_patch_ver
# https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=linux&distributions=offline&version=2024.2.0
# https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit-download.html?operatingsystem=linux&distributions=offline&version=2024.2.0
pkgver_base=$pkgver.375
pkgver_hpc=$pkgver.381
_urlver_base=d640da34-77cc-4ab2-8019-ac5592f4ec19
_urlver_hpc=66021d90-934d-41f4-bedf-b8c00bbe98bc
pkgrel=1
pkgdesc="Intel oneAPI Base and HPC Toolkit for Linux"
arch=('x86_64')
url='https://software.intel.com/content/www/us/en/develop/tools/oneapi.html'
license=('custom:EULA')
source=("https://registrationcenter-download.intel.com/akdlm/IRC_NAS/${_urlver_base}/intel-oneapi-base-toolkit-${pkgver_base}_offline.sh"
  "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/${_urlver_hpc}/intel-oneapi-hpc-toolkit-${pkgver_hpc}_offline.sh"
  "intel-oneapi-hpckit.sh")

sha384sums=('9774ebc16d6fe7e95b8c0db99691edaa653a7a511a432c7b4844daec77b1966b3fa82da0115092da458d6f7859f8e9b1'
            'd4aa997875029f2269887ad76b903d40bf828251981b6e0873b095a0b84a5c67c9cedea962311f8a07b5b0551fc6c21c'
            '6d0365c382d5e6ca650444de3394d114c877e7c2066d9087fa3d2cc8637ebc8a38d506837a27803a1e540765a7d4b071')
depends=(level-zero-loader)
options=(!strip staticlibs)
install="$pkgname.install"
noextract=("intel-oneapi-base-toolkit-${pkgver_base}_offline.sh"
  "intel-oneapi-hpc-toolkit-${pkgver_hpc}_offline.sh")
optdepends=('libnotify: VTune GUI'
  'glib2: VTune GUI'
  'gtk3: VTune GUI'
  'at-spi2-atk: VTune GUI'
  'libdrm: VTune GUI'
  'libxcb: VTune GUI'
  'xdg-utils: VTune GUI'
  'nss: Advisor GUI')
provides=('intel-oneapi-mkl' 'intel-oneapi-dnnl' 'intel-oneapi-tbb' 'intel-oneapi-dpl'
  'intel-oneapi-ccl' 'intel-oneapi-dpcpp-cpp-compiler' 'intel-oneapi-dal'
  'intel-oneapi-compiler-shared-runtime-libs' 'intel-oneapi-compiler-shared-opencl-cpu'
  'intel-oneapi-compiler-shared-runtime' 'intel-oneapi-compiler-dpcpp-cpp-runtime-libs'
  'intel-oneapi-compiler-dpcpp-cpp-runtime' 'intel-oneapi-compiler-shared' 'intel-oneapi-openmp'
  'intel-oneapi-dpcpp-debugger' 'intel-oneapi-dev-utilities' 'intel-oneapi-dpcpp-cpp'
  'intel-oneapi-vpl' 'intel-oneapi-ipp' 'intel-oneapi-ippcp' 'intel-oneapi-advisor'
  'intel-oneapi-vtune' 'intel-oneapi-fpga-group')
conflicts=('intel-oneapi-basekit')

pums974 commented on 2025-07-31 08:08 (UTC) (edited on 2025-07-31 08:18 (UTC) by pums974)

Hello, Thanks for this package

makepkg seems to fail to build this package at least on my computer

...
==> Entering fakeroot environment...
==> Starting package()...
runuser: cannot open session: Permission denied
==> ERROR: A failure occurred in package().
    Aborting...

but using extra-x86_64-build seems ok

kelen commented on 2025-03-02 07:50 (UTC)

@tatayoyo Thanks for your correction, this mistake has been fixed in the new PKGBUILD.

tatayoyo commented on 2025-02-06 22:04 (UTC)

Hello,

Thanks for your work :)

there is a little PATH mistake in your PKGBUILD (line 77-79) concerning the /etc/ld.so.conf.d/intel-oneapi-hpckit.conf file

  echo "${_lib_path}/latest/**linux**/lib" >> "${_ldso_conf}/${pkgname}.conf"
  echo "${_lib_path}/latest/**linux**/lib/x64" >> "${_ldso_conf}/${pkgname}.conf"
  echo "${_lib_path}/latest/**linux**/compiler/lib/intel64" >> "${_ldso_conf}/${pkgname}.conf"

should be

  echo "${_lib_path}/latest/lib" >> "${_ldso_conf}/${pkgname}.conf"
  echo "${_lib_path}/latest/lib/x64" >> "${_ldso_conf}/${pkgname}.conf"
  echo "${_lib_path}/latest/compiler/lib/intel64" >> "${_ldso_conf}/${pkgname}.conf"

Regards,

kelen commented on 2024-09-24 15:21 (UTC)

During an upgrade, my systemd crashed. I don't know why, and I didn't delve into it further, so I switched to another distribution. Now I'm basing this package update on my past experience and providing the download link for the package update. I've also compiled a pacman to test makepkg, which is an incomplete test. Please let me know if you encounter any issues. I'm currently busy with my doctoral thesis, so updates may not be timely.