* [gentoo-commits] proj/sci:master commit in: sci-libs/oneDAL/
@ 2023-02-25 10:36 Andrew Ammerlaan
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2023-02-25 10:36 UTC (permalink / raw
To: gentoo-commits
commit: 677ff6a5f3c0905dec2fe09392ea1f44d144be64
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 10:35:57 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 10:35:57 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=677ff6a5
sci-libs/oneDAL: add 2023.0.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/oneDAL/oneDAL-2023.0.1.ebuild | 85 ++++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/sci-libs/oneDAL/oneDAL-2023.0.1.ebuild b/sci-libs/oneDAL/oneDAL-2023.0.1.ebuild
new file mode 100644
index 000000000..589a74960
--- /dev/null
+++ b/sci-libs/oneDAL/oneDAL-2023.0.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+inherit python-any-r1 java-pkg-2
+
+MKLFPK_VER="20221214"
+MKLGPUFPK_VER="20221214"
+
+DESCRIPTION="oneAPI Data Analytics Library"
+HOMEPAGE="https://github.com/oneapi-src/oneDAL"
+# Secondary urls extracted from dev/download_micromkl.sh
+SRC_URI="
+ https://github.com/oneapi-src/oneDAL/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/oneapi-src/oneDAL/releases/download/Dependencies/mklgpufpk_lnx_${MKLGPUFPK_VER}.tgz
+ https://github.com/oneapi-src/oneDAL/releases/download/Dependencies/mklfpk_lnx_${MKLFPK_VER}.tgz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="sys-devel/DPC++"
+
+RDEPEND="
+ dev-cpp/tbb:=
+ dev-libs/opencl-icd-loader
+ virtual/jdk:17
+"
+DEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2021.7.1_p20221207-fix-compile.patch"
+)
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ mkdir -p "${S}/__deps/mklfpk/" "${S}/__deps/mklgpufpk/lnx" || die
+ cd "${S}/__deps/mklfpk/" || die
+ unpack "mklfpk_lnx_${MKLFPK_VER}.tgz"
+ cd "${S}/__deps/mklgpufpk/lnx" || die
+ unpack "mklgpufpk_lnx_${MKLGPUFPK_VER}.tgz"
+}
+
+src_prepare() {
+ # DPC++ compiler required for full functionality
+ export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
+ export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
+ export TBBROOT="${ESYSROOT}/usr"
+ export CPLUS_INCLUDE_PATH="./cpp/daal/include:${ESYSROOT}/usr/lib/llvm/intel/include"
+ export JAVA_HOME="${ESYSROOT}/usr/lib64/openjdk-17/"
+ export PATH="${JAVA_HOME}/bin:${PATH}"
+ export CPATH="${JAVA_HOME}/include:${JAVA_HOME}/include/linux:${CPATH}"
+
+ default
+}
+
+src_compile() {
+ emake PLAT=lnx32e COMPILER=icx daal oneapi
+}
+
+src_install() {
+ einstalldocs
+ cd __release_lnx_icx/daal/latest || die
+ docinto examples
+ dodoc -r examples/*
+ docinto samples
+ dodoc -r samples/*
+ doheader -r include/*
+ dolib.so lib/intel64/*.so*
+ dolib.a lib/intel64/*.a*
+ insinto /usr/share/pkgconfig
+ doins -r lib/pkgconfig/*
+ java-pkg_dojar lib/*.jar
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/oneDAL/
@ 2023-02-26 5:25 Andrew Ammerlaan
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2023-02-26 5:25 UTC (permalink / raw
To: gentoo-commits
commit: 68a3f223c35ff5477ee23396ce5fe13ca6a95632
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 05:23:18 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 05:23:18 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=68a3f223
sci-libs/oneDAL: drop 2021.7.1_p20221207
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/oneDAL/oneDAL-2021.7.1_p20221207.ebuild | 89 ------------------------
1 file changed, 89 deletions(-)
diff --git a/sci-libs/oneDAL/oneDAL-2021.7.1_p20221207.ebuild b/sci-libs/oneDAL/oneDAL-2021.7.1_p20221207.ebuild
deleted file mode 100644
index a34324f2d..000000000
--- a/sci-libs/oneDAL/oneDAL-2021.7.1_p20221207.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit python-any-r1 java-pkg-2
-
-# Latest from development required to build using open source DPC++
-COMMIT="a6bce46565825747fa8c3fdfe2dd6a676ab600a7"
-
-MKLFPK_VER="20210426"
-MKLGPUFPK_VER="2021-11-11"
-
-DESCRIPTION="oneAPI Data Analytics Library"
-HOMEPAGE="https://github.com/oneapi-src/oneDAL"
-# Secondary urls extracted from dev/download_micromkl.sh
-SRC_URI="
- https://github.com/oneapi-src/oneDAL/archive/${COMMIT}.tar.gz -> ${P}.tar.gz
- https://github.com/oneapi-src/oneDAL/releases/download/Dependencies/mklgpufpk_lnx_${MKLGPUFPK_VER}.tgz
- https://github.com/oneapi-src/oneDAL/releases/download/Dependencies/mklfpk_lnx_${MKLFPK_VER}.tgz
-"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="sys-devel/DPC++"
-
-RDEPEND="
- dev-cpp/tbb:=
- dev-libs/opencl-icd-loader
- virtual/jdk:17
-"
-DEPEND="
- ${DEPEND}
- ${PYTHON_DEPS}
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-compile.patch"
-)
-
-pkg_setup() {
- python-any-r1_pkg_setup
- java-pkg-2_pkg_setup
-}
-
-src_unpack() {
- unpack "${P}.tar.gz"
- mkdir -p "${S}/__deps/mklfpk/" "${S}/__deps/mklgpufpk/lnx" || die
- cd "${S}/__deps/mklfpk/" || die
- unpack "mklfpk_lnx_${MKLFPK_VER}.tgz"
- cd "${S}/__deps/mklgpufpk/lnx" || die
- unpack "mklgpufpk_lnx_${MKLGPUFPK_VER}.tgz"
-}
-
-src_prepare() {
- # DPC++ compiler required for full functionality
- export CC="${ESYSROOT}/usr/lib/llvm/intel/bin/clang"
- export CXX="${ESYSROOT}/usr/lib/llvm/intel/bin/clang++"
- export TBBROOT="${ESYSROOT}/usr"
- export CPLUS_INCLUDE_PATH="./cpp/daal/include:${ESYSROOT}/usr/lib/llvm/intel/include"
- export JAVA_HOME="${ESYSROOT}/usr/lib64/openjdk-17/"
- export PATH="${JAVA_HOME}/bin:${PATH}"
- export CPATH="${JAVA_HOME}/include:${JAVA_HOME}/include/linux:${CPATH}"
-
- default
-}
-
-src_compile() {
- emake PLAT=lnx32e COMPILER=icx daal oneapi
-}
-
-src_install() {
- einstalldocs
- cd __release_lnx_icx/daal/latest || die
- docinto examples
- dodoc -r examples/*
- docinto samples
- dodoc -r samples/*
- doheader -r include/*
- dolib.so lib/intel64/*.so*
- dolib.a lib/intel64/*.a*
- insinto /usr/share/pkgconfig
- doins -r lib/pkgconfig/*
- java-pkg_dojar lib/*.jar
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-26 5:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-25 10:36 [gentoo-commits] proj/sci:master commit in: sci-libs/oneDAL/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2023-02-26 5:25 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox