[arch-commits] Commit in intel-oneapi-basekit/repos (2 files)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Fri Aug 26 23:57:21 UTC 2022
Date: Friday, August 26, 2022 @ 23:57:21
Author: kgizdov
Revision: 1284545
archrelease: copy trunk to community-x86_64
Added:
intel-oneapi-basekit/repos/community-x86_64/
intel-oneapi-basekit/repos/community-x86_64/PKGBUILD
(from rev 1284544, intel-oneapi-basekit/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: intel-oneapi-basekit/repos/community-x86_64/PKGBUILD (from rev 1284544, intel-oneapi-basekit/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2022-08-26 23:57:21 UTC (rev 1284545)
@@ -0,0 +1,48 @@
+pkgname=intel-oneapi-basekit
+pkgver=2022.2.0.262
+pkgrel=1
+pkgdesc="Intel oneAPI Base Toolkit for Linux"
+arch=('x86_64')
+url='https://software.intel.com/content/www/us/en/develop/tools/oneapi.html'
+license=("custom")
+source=("https://registrationcenter-download.intel.com/akdlm/irc_nas/18673/l_BaseKit_p_${pkgver}_offline.sh")
+b2sums=('02604c42991c58f0ddf8272105da59b73936e0ef27a0561cada01de6da77dce0c795eac7b5d970ff1dd4f890b638138e11cd4620acdbb29b839b97be0b8b29a1')
+depends=()
+noextract=("l_BaseKit_p_2022.2.0.262_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-vpl' 'intel-oneapi-ipp' 'intel-oneapi-ippcp' 'intel-oneapi-advisor'
+ 'intel-oneapi-vtune' 'intel-oneapi-fpga-group')
+
+prepare() {
+ chmod +x "${srcdir}/l_BaseKit_p_${pkgver}_offline.sh"
+}
+
+build() {
+ cd "${srcdir}"
+
+ ./"l_BaseKit_p_${pkgver}_offline.sh" \
+ --extract-folder "${srcdir}" --extract-only \
+ --remove-extracted-files no --log "${srcdir}"/extract.log
+}
+
+package() {
+ cd "${srcdir}"
+
+ # 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
+ runuser -u builduser -- "${srcdir}/l_BaseKit_p_${pkgver}_offline"/install.sh \
+ --silent --eula accept \
+ --components all \
+ --install-dir "${pkgdir}"/opt/intel/oneapi \
+ --log-dir "${srcdir}"/ --ignore-errors
+}
More information about the arch-commits
mailing list