[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-06-15 Thread Michał Górny
commit: f5535629966c646949749beba2b8e99d6d45d628
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 15 13:01:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 15 13:01:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5535629

dev-lang/ispc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest   |   1 -
 dev-lang/ispc/ispc-1.23.0.ebuild | 101 ---
 2 files changed, 102 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index da208529ebcf..7c4a0de3cbb1 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.23.0.gh.tar.gz 19624959 BLAKE2B 
08cf817bdd4cd76121dd6c9586ef5f3f9296e7a3b509c51db6413fb62aee0b462ae8baa9fd9497b20c67d4df90149eba16a48b61dd8793c5b64c95a21b13e5d8
 SHA512 
34cd2572cdaf38f7911ffe52dfb7346f1607de1f81635bdf94e365dee810b30ddeb090eee4a592d9331bb051498172bfd868cd8de9c38bed388d7207a30ac0d8
 DIST ispc-1.24.0.gh.tar.gz 19674211 BLAKE2B 
246a079f03fa17f1ab4d80c55b992e92f44d5395e3f1feadee90c773771496ead4de0671b3869c70d5a93038d7c0ccaf9ed3ad5b5e40eb156d605a73150b15d9
 SHA512 
ad9feab1b5986471a52c775c1220ae46904ae952b33a14299f525eb03e004c6e1395dd171ddedee833892d57ad195ffddb234b26a2df42138fb1b2364b62803e

diff --git a/dev-lang/ispc/ispc-1.23.0.ebuild b/dev-lang/ispc/ispc-1.23.0.ebuild
deleted file mode 100644
index 0bf8808f4f97..
--- a/dev-lang/ispc/ispc-1.23.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( 17 )
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit cmake llvm-r1 multiprocessing python-any-r1 toolchain-funcs
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="
-   https://ispc.github.io/
-   https://github.com/ispc/ispc/
-"
-SRC_URI="
-   https://github.com/ispc/ispc/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="examples gpu openmp test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   $(llvm_gen_dep '
-   sys-devel/clang:${LLVM_SLOT}
-   ')
-   sys-libs/ncurses:=
-   gpu? ( dev-libs/level-zero:= )
-   !openmp? ( dev-cpp/tbb:= )
-"
-RDEPEND="
-   ${DEPEND}
-"
-BDEPEND="
-   app-alternatives/yacc
-   app-alternatives/lex
-   ${PYTHON_DEPS}
-"
-
-pkg_pretend() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
-   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-   llvm-r1_pkg_setup
-   python-any-r1_pkg_setup
-}
-
-src_prepare() {
-   if use amd64; then
-   # On amd64 systems, build system enables x86/i686 build too.
-   # This ebuild doesn't even have multilib support, nor need it.
-   # https://bugs.gentoo.org/730062
-   einfo "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   # do not require bundled gtest
-   mkdir -p ispcrt/tests/vendor/google/googletest || die
-   cat > ispcrt/tests/vendor/google/googletest/CMakeLists.txt <<-EOF || die
-   find_package(GTest)
-   EOF
-   # remove hacks that break unbundling
-   sed -i -e '/gmock/d' -e '/install/,$d' ispcrt/tests/CMakeLists.txt || 
die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_INCLUDE_EXAMPLES=OFF
-   -DISPC_INCLUDE_TESTS=$(usex test)
-   -DISPC_INCLUDE_UTILS=OFF
-   -DISPCRT_BUILD_GPU=$(usex gpu)
-   -DISPCRT_BUILD_TASK_MODEL=$(usex openmp OpenMP TBB)
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   local -x PATH="${BUILD_DIR}/bin:${PATH}"
-   "${EPYTHON}" ./run_tests.py "-j$(makeopts_jobs)" -v ||
-   die "Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   cmake_src_install
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-06-15 Thread Arthur Zamarin
commit: 607ae88bdb35276d07e8f59ab3cd27db87f66c37
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun 15 10:54:32 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun 15 10:54:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=607ae88b

dev-lang/ispc: Stabilize 1.24.0 amd64, #934353

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lang/ispc/ispc-1.24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.24.0.ebuild b/dev-lang/ispc/ispc-1.24.0.ebuild
index 0040707fe672..9c93989e4624 100644
--- a/dev-lang/ispc/ispc-1.24.0.ebuild
+++ b/dev-lang/ispc/ispc-1.24.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="examples gpu openmp test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-05-22 Thread Michał Górny
commit: 6143ada5ad3f28a5ed74e2ee5519ac7d7922126a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 23 01:12:59 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 23 02:11:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6143ada5

dev-lang/ispc: Bump to 1.24.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest   |   1 +
 dev-lang/ispc/ispc-1.24.0.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index a843a6c1018c..da208529ebcf 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.23.0.gh.tar.gz 19624959 BLAKE2B 
08cf817bdd4cd76121dd6c9586ef5f3f9296e7a3b509c51db6413fb62aee0b462ae8baa9fd9497b20c67d4df90149eba16a48b61dd8793c5b64c95a21b13e5d8
 SHA512 
34cd2572cdaf38f7911ffe52dfb7346f1607de1f81635bdf94e365dee810b30ddeb090eee4a592d9331bb051498172bfd868cd8de9c38bed388d7207a30ac0d8
+DIST ispc-1.24.0.gh.tar.gz 19674211 BLAKE2B 
246a079f03fa17f1ab4d80c55b992e92f44d5395e3f1feadee90c773771496ead4de0671b3869c70d5a93038d7c0ccaf9ed3ad5b5e40eb156d605a73150b15d9
 SHA512 
ad9feab1b5986471a52c775c1220ae46904ae952b33a14299f525eb03e004c6e1395dd171ddedee833892d57ad195ffddb234b26a2df42138fb1b2364b62803e

diff --git a/dev-lang/ispc/ispc-1.24.0.ebuild b/dev-lang/ispc/ispc-1.24.0.ebuild
new file mode 100644
index ..0040707fe672
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.24.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {17..18} )
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake llvm-r1 multiprocessing python-any-r1 toolchain-funcs
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="
+   https://ispc.github.io/
+   https://github.com/ispc/ispc/
+"
+SRC_URI="
+   https://github.com/ispc/ispc/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="examples gpu openmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   $(llvm_gen_dep '
+   sys-devel/clang:${LLVM_SLOT}
+   ')
+   sys-libs/ncurses:=
+   gpu? ( dev-libs/level-zero:= )
+   !openmp? ( dev-cpp/tbb:= )
+"
+RDEPEND="
+   ${DEPEND}
+"
+BDEPEND="
+   app-alternatives/yacc
+   app-alternatives/lex
+   ${PYTHON_DEPS}
+"
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+   llvm-r1_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   if use amd64; then
+   # On amd64 systems, build system enables x86/i686 build too.
+   # This ebuild doesn't even have multilib support, nor need it.
+   # https://bugs.gentoo.org/730062
+   einfo "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   # do not require bundled gtest
+   mkdir -p ispcrt/tests/vendor/google/googletest || die
+   cat > ispcrt/tests/vendor/google/googletest/CMakeLists.txt <<-EOF || die
+   find_package(GTest)
+   EOF
+   # remove hacks that break unbundling
+   sed -i -e '/gmock/d' -e '/install/,$d' ispcrt/tests/CMakeLists.txt || 
die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_INCLUDE_EXAMPLES=OFF
+   -DISPC_INCLUDE_TESTS=$(usex test)
+   -DISPC_INCLUDE_UTILS=OFF
+   -DISPCRT_BUILD_GPU=$(usex gpu)
+   -DISPCRT_BUILD_TASK_MODEL=$(usex openmp OpenMP TBB)
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   local -x PATH="${BUILD_DIR}/bin:${PATH}"
+   "${EPYTHON}" ./run_tests.py "-j$(makeopts_jobs)" -v ||
+   die "Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-03-09 Thread Michał Górny
commit: 516265d91b26c680688ec9fa6c537989c1979c04
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 10 03:32:34 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 10 03:32:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516265d9

dev-lang/ispc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest  |  1 -
 dev-lang/ispc/ispc-1.22.0-r1.ebuild | 99 -
 2 files changed, 100 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 53250fe11e0d..a843a6c1018c 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.22.0.gh.tar.gz 19618494 BLAKE2B 
0dae95d792e4d629b38a9775c2c600131374c69dfa086d6a67100e40e5005ef054b9a651f418e0452a19ee4e64ffd830bfaa787b14e706473e8fab1d2380f0fd
 SHA512 
4436ea37003b4cbfefcbf4c18212d0e98536243ae8f01053817d579e04205a4dcd4ab7b2b282fec99fc617009fdbea340b348cf4a2134240d2fcfc6bcaf6b60c
 DIST ispc-1.23.0.gh.tar.gz 19624959 BLAKE2B 
08cf817bdd4cd76121dd6c9586ef5f3f9296e7a3b509c51db6413fb62aee0b462ae8baa9fd9497b20c67d4df90149eba16a48b61dd8793c5b64c95a21b13e5d8
 SHA512 
34cd2572cdaf38f7911ffe52dfb7346f1607de1f81635bdf94e365dee810b30ddeb090eee4a592d9331bb051498172bfd868cd8de9c38bed388d7207a30ac0d8

diff --git a/dev-lang/ispc/ispc-1.22.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
deleted file mode 100644
index 9fec0c98ea60..
--- a/dev-lang/ispc/ispc-1.22.0-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-LLVM_MAX_SLOT=17
-
-inherit cmake llvm multiprocessing python-any-r1 toolchain-funcs
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="
-   https://ispc.github.io/
-   https://github.com/ispc/ispc/
-"
-SRC_URI="
-   https://github.com/ispc/ispc/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="examples gpu openmp test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   # do not require bundled gtest
-   mkdir -p ispcrt/tests/vendor/google/googletest || die
-   cat > ispcrt/tests/vendor/google/googletest/CMakeLists.txt <<-EOF || die
-   find_package(GTest)
-   EOF
-   # remove hacks that break unbundling
-   sed -i -e '/gmock/d' -e '/install/,$d' ispcrt/tests/CMakeLists.txt || 
die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_INCLUDE_EXAMPLES=OFF
-   -DISPC_INCLUDE_TESTS=$(usex test)
-   -DISPC_INCLUDE_UTILS=OFF
-   -DISPCRT_BUILD_GPU=$(usex gpu)
-   -DISPCRT_BUILD_TASK_MODEL=$(usex openmp OpenMP TBB)
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   local -x PATH="${BUILD_DIR}/bin:${PATH}"
-   "${EPYTHON}" ./run_tests.py "-j$(makeopts_jobs)" -v ||
-   die "Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   cmake_src_install
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-03-09 Thread Sam James
commit: 3cc74ffa512ec24c7e37ca0de5f7545636e6b1ac
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  9 21:10:02 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  9 21:10:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc74ffa

dev-lang/ispc: Stabilize 1.23.0 amd64, #926556

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.23.0.ebuild b/dev-lang/ispc/ispc-1.23.0.ebuild
index d0bde1e3bc6d..0bf8808f4f97 100644
--- a/dev-lang/ispc/ispc-1.23.0.ebuild
+++ b/dev-lang/ispc/ispc-1.23.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="examples gpu openmp test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-02-15 Thread Michał Górny
commit: a52d9a5deecee703456faa4714ef5a7648575d66
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 16 05:05:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 16 05:40:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52d9a5d

dev-lang/ispc: Bump to 1.23.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest   |   1 +
 dev-lang/ispc/ispc-1.23.0.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index b89a21202d58..53250fe11e0d 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.22.0.gh.tar.gz 19618494 BLAKE2B 
0dae95d792e4d629b38a9775c2c600131374c69dfa086d6a67100e40e5005ef054b9a651f418e0452a19ee4e64ffd830bfaa787b14e706473e8fab1d2380f0fd
 SHA512 
4436ea37003b4cbfefcbf4c18212d0e98536243ae8f01053817d579e04205a4dcd4ab7b2b282fec99fc617009fdbea340b348cf4a2134240d2fcfc6bcaf6b60c
+DIST ispc-1.23.0.gh.tar.gz 19624959 BLAKE2B 
08cf817bdd4cd76121dd6c9586ef5f3f9296e7a3b509c51db6413fb62aee0b462ae8baa9fd9497b20c67d4df90149eba16a48b61dd8793c5b64c95a21b13e5d8
 SHA512 
34cd2572cdaf38f7911ffe52dfb7346f1607de1f81635bdf94e365dee810b30ddeb090eee4a592d9331bb051498172bfd868cd8de9c38bed388d7207a30ac0d8

diff --git a/dev-lang/ispc/ispc-1.23.0.ebuild b/dev-lang/ispc/ispc-1.23.0.ebuild
new file mode 100644
index ..d0bde1e3bc6d
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.23.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 17 )
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit cmake llvm-r1 multiprocessing python-any-r1 toolchain-funcs
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="
+   https://ispc.github.io/
+   https://github.com/ispc/ispc/
+"
+SRC_URI="
+   https://github.com/ispc/ispc/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="examples gpu openmp test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   $(llvm_gen_dep '
+   sys-devel/clang:${LLVM_SLOT}
+   ')
+   sys-libs/ncurses:=
+   gpu? ( dev-libs/level-zero:= )
+   !openmp? ( dev-cpp/tbb:= )
+"
+RDEPEND="
+   ${DEPEND}
+"
+BDEPEND="
+   app-alternatives/yacc
+   app-alternatives/lex
+   ${PYTHON_DEPS}
+"
+
+pkg_pretend() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+   llvm-r1_pkg_setup
+   python-any-r1_pkg_setup
+}
+
+src_prepare() {
+   if use amd64; then
+   # On amd64 systems, build system enables x86/i686 build too.
+   # This ebuild doesn't even have multilib support, nor need it.
+   # https://bugs.gentoo.org/730062
+   einfo "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   # do not require bundled gtest
+   mkdir -p ispcrt/tests/vendor/google/googletest || die
+   cat > ispcrt/tests/vendor/google/googletest/CMakeLists.txt <<-EOF || die
+   find_package(GTest)
+   EOF
+   # remove hacks that break unbundling
+   sed -i -e '/gmock/d' -e '/install/,$d' ispcrt/tests/CMakeLists.txt || 
die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_INCLUDE_EXAMPLES=OFF
+   -DISPC_INCLUDE_TESTS=$(usex test)
+   -DISPC_INCLUDE_UTILS=OFF
+   -DISPCRT_BUILD_GPU=$(usex gpu)
+   -DISPCRT_BUILD_TASK_MODEL=$(usex openmp OpenMP TBB)
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   local -x PATH="${BUILD_DIR}/bin:${PATH}"
+   "${EPYTHON}" ./run_tests.py "-j$(makeopts_jobs)" -v ||
+   die "Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/, dev-lang/ispc/

2024-01-24 Thread Michał Górny
commit: 362fd30287746e0e46d8a4aaa77fe6e5b4fb83ff
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 25 04:16:14 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 25 04:43:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=362fd302

dev-lang/ispc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest |  1 -
 dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch | 16 -
 dev-lang/ispc/files/ispc-1.19.0-gcc13.patch| 27 
 dev-lang/ispc/ispc-1.19.0.ebuild   | 79 --
 4 files changed, 123 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index e712d186483d..b89a21202d58 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.19.0.tar.gz 19577782 BLAKE2B 
5ad6b0bb27f2a27267a26a729693bd16250ae5e8740728290fe6ad85c7ecd4da40f316f2ca6b1447ff3a13f6949db4ed2af6ebf2c6ce6ba43620dfb1943d
 SHA512 
140f16bc0f9e0a94853b50a5433be9196ee09b6c70a1840d400d0d201143da8cb2b1b92a857acf5856ed3410bfffd17678eb1029996f9007fe947f5ac78bf1bb
 DIST ispc-1.22.0.gh.tar.gz 19618494 BLAKE2B 
0dae95d792e4d629b38a9775c2c600131374c69dfa086d6a67100e40e5005ef054b9a651f418e0452a19ee4e64ffd830bfaa787b14e706473e8fab1d2380f0fd
 SHA512 
4436ea37003b4cbfefcbf4c18212d0e98536243ae8f01053817d579e04205a4dcd4ab7b2b282fec99fc617009fdbea340b348cf4a2134240d2fcfc6bcaf6b60c

diff --git a/dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch 
b/dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch
deleted file mode 100644
index 19a19e871ee7..
--- a/dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch
+++ /dev/null
@@ -1,16 +0,0 @@
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -598,11 +598,8 @@ else()
- target_link_libraries(${PROJECT_NAME} pthread tinfo.a curses.a)
- else()
- find_package(Curses REQUIRED)
--if (CURSES_EXTRA_LIBRARY)
--# this contains the tinfo library, if found
--target_link_libraries(${PROJECT_NAME} ${CURSES_EXTRA_LIBRARY})
--endif()
--target_link_libraries(${PROJECT_NAME} pthread 
${CURSES_CURSES_LIBRARY})
-+set(CURSES_NEED_NCURSES ON)
-+target_link_libraries(${PROJECT_NAME} pthread ${CURSES_LIBRARIES})
- endif()
- endif()
- 

diff --git a/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch 
b/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch
deleted file mode 100644
index e2bae38ae581..
--- a/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://bugs.gentoo.org/895572
-https://github.com/ispc/ispc/commit/ffc75e464ff2b8fce7dbf74f1846ebd0852bc6f9
-
-From ffc75e464ff2b8fce7dbf74f1846ebd0852bc6f9 Mon Sep 17 00:00:00 2001
-From: Luya Tshimbalanga 
-Date: Tue, 28 Feb 2023 17:20:21 -0800
-Subject: [PATCH] Fix build with GCC 13 and possibly Clang 15
-
-This fix add missing  include to handle "uint32_t".
 a/src/target_registry.h
-+++ b/src/target_registry.h
-@@ -1,5 +1,5 @@
- /*
--  Copyright (c) 2019-2021, Intel Corporation
-+  Copyright (c) 2019-2023, Intel Corporation
-   All rights reserved.
- 
-   Redistribution and use in source and binary forms, with or without
-@@ -40,6 +40,7 @@
- #include "bitcode_lib.h"
- 
- #include 
-+#include 
- #include 
- #include 
- 
-

diff --git a/dev-lang/ispc/ispc-1.19.0.ebuild b/dev-lang/ispc/ispc-1.19.0.ebuild
deleted file mode 100644
index 42ebe7e712a4..
--- a/dev-lang/ispc/ispc-1.19.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-LLVM_MAX_SLOT=15
-inherit cmake python-any-r1 llvm
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.io/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_INCLUDE_EXAMPLES=OFF
-   -DISPC_INCLUDE_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   einstalldocs
-
-   if use examples; then
-   docompress -x /

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2024-01-24 Thread Sam James
commit: 6929de782f1510b6a6a24ea9fb441f7b888fa7cc
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 25 03:13:46 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 25 03:13:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6929de78

dev-lang/ispc: Stabilize 1.22.0-r1 amd64, #922830

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.22.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.22.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
index a3af019a1ebc..9fec0c98ea60 100644
--- a/dev-lang/ispc/ispc-1.22.0-r1.ebuild
+++ b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE="examples gpu openmp test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-12-31 Thread Michał Górny
commit: 9b3e40bb2ab6366003b2dc967b3265a46a2fa14a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 15:25:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 15:25:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b3e40bb

dev-lang/ispc: Add OpenMP task model support

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/ispc-1.22.0-r1.ebuild | 12 +---
 dev-lang/ispc/metadata.xml  |  5 +
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.22.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
index 129779363d29..7b18a7303e8a 100644
--- a/dev-lang/ispc/ispc-1.22.0-r1.ebuild
+++ b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..12} )
 LLVM_MAX_SLOT=17
 
-inherit cmake multiprocessing python-any-r1 llvm
+inherit cmake llvm multiprocessing python-any-r1 toolchain-funcs
 
 DESCRIPTION="Intel SPMD Program Compiler"
 HOMEPAGE="
@@ -21,13 +21,13 @@ SRC_URI="
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="examples test"
+IUSE="examples openmp test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
-   dev-cpp/tbb:=

ispc/ispc

+   
+   
+   Build with OpenMP task model (otherwise, TBB task model 
is used).
+   
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, profiles/features/musl/, profiles/arch/amd64/, ...

2023-12-31 Thread Michał Górny
commit: ce3d65e1b44bb998f85628b3ee83fe028f4e7d32
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 15:25:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 15:29:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3d65e1

dev-lang/ispc: Add GPU support

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/ispc-1.22.0-r1.ebuild | 12 +++-
 dev-lang/ispc/metadata.xml  |  3 +++
 profiles/arch/amd64/package.use.mask|  4 
 profiles/arch/base/package.use.mask |  4 
 profiles/features/musl/package.use.mask |  4 
 5 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.22.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
index 7b18a7303e8a..d05fa1f7195e 100644
--- a/dev-lang/ispc/ispc-1.22.0-r1.ebuild
+++ b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
@@ -21,12 +21,13 @@ SRC_URI="
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="examples openmp test"
+IUSE="examples gpu openmp test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
 ispcrt/tests/vendor/google/googletest/CMakeLists.txt <<-EOF || die
+   find_package(GTest)
+   EOF
+   # remove hacks that break unbundling
+   sed -i -e '/gmock/d' -e '/install/,$d' ispcrt/tests/CMakeLists.txt || 
die
+
cmake_src_prepare
 }
 
@@ -67,6 +76,7 @@ src_configure() {
-DISPC_INCLUDE_EXAMPLES=OFF
-DISPC_INCLUDE_TESTS=$(usex test)
-DISPC_INCLUDE_UTILS=OFF
+   -DISPCRT_BUILD_GPU=$(usex gpu)
-DISPCRT_BUILD_TASK_MODEL=$(usex openmp OpenMP TBB)
)
cmake_src_configure

diff --git a/dev-lang/ispc/metadata.xml b/dev-lang/ispc/metadata.xml
index eb96ff15c20a..1ac64e1abb82 100644
--- a/dev-lang/ispc/metadata.xml
+++ b/dev-lang/ispc/metadata.xml
@@ -9,6 +9,9 @@
ispc/ispc


+   
+   Enable Level0 GPU support in ispcrt.
+   

Build with OpenMP task model (otherwise, TBB task model 
is used).


diff --git a/profiles/arch/amd64/package.use.mask 
b/profiles/arch/amd64/package.use.mask
index 9d39b1452131..1a2f77a0990a 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Michał Górny  (2023-12-31)
+# Requires dev-libs/level-zero.
+dev-lang/ispc -gpu
+
 # Andrew Ammerlaan  (2023-12-18)
 # Experimental and only available on a subset of architectures
 sys-kernel/gentoo-kernel -generic-uki

diff --git a/profiles/arch/base/package.use.mask 
b/profiles/arch/base/package.use.mask
index bf4429181727..65c07619a41a 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Michał Górny  (2023-12-31)
+# Requires dev-libs/level-zero.
+dev-lang/ispc gpu
+
 # Andrew Ammerlaan  (2023-12-18)
 # Experimental and only available on a subset of architectures
 sys-kernel/gentoo-kernel generic-uki

diff --git a/profiles/features/musl/package.use.mask 
b/profiles/features/musl/package.use.mask
index 7e616368e822..c9b7d23aaca6 100644
--- a/profiles/features/musl/package.use.mask
+++ b/profiles/features/musl/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Michał Górny  (2023-12-31)
+# Requires dev-libs/level-zero.
+dev-lang/ispc gpu
+
 # Andrew Ammerlaan  (2023-12-18)
 # Requires systemd
 sys-kernel/gentoo-kernel generic-uki



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-12-31 Thread Michał Górny
commit: 6d118cb4600306d4f8891924cc48b27ac2623f6b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 14:54:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 14:56:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d118cb4

dev-lang/ispc: Add missing dependencies

Closes: https://bugs.gentoo.org/921130
Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/{ispc-1.22.0.ebuild => ispc-1.22.0-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-lang/ispc/ispc-1.22.0.ebuild 
b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
similarity index 97%
rename from dev-lang/ispc/ispc-1.22.0.ebuild
rename to dev-lang/ispc/ispc-1.22.0-r1.ebuild
index fb2b1f2ba1d3..129779363d29 100644
--- a/dev-lang/ispc/ispc-1.22.0.ebuild
+++ b/dev-lang/ispc/ispc-1.22.0-r1.ebuild
@@ -25,7 +25,9 @@ IUSE="examples test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
+   dev-cpp/tbb:=


[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-12-31 Thread Michał Górny
commit: 7daa625323da23a6972311c35ffeb0cd792e1a9b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 10:02:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 10:02:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7daa6253

dev-lang/ispc: Restore the hack to disable multilib

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/ispc-1.22.0.ebuild | 12 
 1 file changed, 12 insertions(+)

diff --git a/dev-lang/ispc/ispc-1.22.0.ebuild b/dev-lang/ispc/ispc-1.22.0.ebuild
index 60ee837fac5f..fb2b1f2ba1d3 100644
--- a/dev-lang/ispc/ispc-1.22.0.ebuild
+++ b/dev-lang/ispc/ispc-1.22.0.ebuild
@@ -41,6 +41,18 @@ pkg_setup() {
python-any-r1_pkg_setup
 }
 
+src_prepare() {
+   if use amd64; then
+   # On amd64 systems, build system enables x86/i686 build too.
+   # This ebuild doesn't even have multilib support, nor need it.
+   # https://bugs.gentoo.org/730062
+   ewarn "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
 src_configure() {
local mycmakeargs=(
-DARM_ENABLED=$(usex arm)



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-12-31 Thread Michał Górny
commit: da2644fb2f7a8346360ed2e770549f29f97d0d0d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 09:52:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 09:56:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2644fb

dev-lang/ispc: Bump to 1.22.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest   |  1 +
 dev-lang/ispc/ispc-1.22.0.ebuild | 69 
 2 files changed, 70 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 5dc60d213eaa..e712d186483d 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.19.0.tar.gz 19577782 BLAKE2B 
5ad6b0bb27f2a27267a26a729693bd16250ae5e8740728290fe6ad85c7ecd4da40f316f2ca6b1447ff3a13f6949db4ed2af6ebf2c6ce6ba43620dfb1943d
 SHA512 
140f16bc0f9e0a94853b50a5433be9196ee09b6c70a1840d400d0d201143da8cb2b1b92a857acf5856ed3410bfffd17678eb1029996f9007fe947f5ac78bf1bb
+DIST ispc-1.22.0.gh.tar.gz 19618494 BLAKE2B 
0dae95d792e4d629b38a9775c2c600131374c69dfa086d6a67100e40e5005ef054b9a651f418e0452a19ee4e64ffd830bfaa787b14e706473e8fab1d2380f0fd
 SHA512 
4436ea37003b4cbfefcbf4c18212d0e98536243ae8f01053817d579e04205a4dcd4ab7b2b282fec99fc617009fdbea340b348cf4a2134240d2fcfc6bcaf6b60c

diff --git a/dev-lang/ispc/ispc-1.22.0.ebuild b/dev-lang/ispc/ispc-1.22.0.ebuild
new file mode 100644
index ..60ee837fac5f
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.22.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+LLVM_MAX_SLOT=17
+
+inherit cmake multiprocessing python-any-r1 llvm
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="
+   https://ispc.github.io/
+   https://github.com/ispc/ispc/
+"
+SRC_URI="
+   https://github.com/ispc/ispc/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-12-31 Thread Michał Górny
commit: 0270c7bfb8deebd00c6bff3d131f764a45a2a7b4
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 31 09:53:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 31 09:56:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0270c7bf

dev-lang/ispc: Add myself as maintainer

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ispc/metadata.xml b/dev-lang/ispc/metadata.xml
index bf38be79e847..d25a0ca74f67 100644
--- a/dev-lang/ispc/metadata.xml
+++ b/dev-lang/ispc/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   mgo...@gentoo.org
+   Michał Górny
+   

ispc/ispc




[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/

2023-10-22 Thread Joonas Niilola
commit: 69f2faa2b9b1202f91f4f7db7439321fe5e70622
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Oct 22 08:36:34 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Oct 22 16:32:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69f2faa2

dev-lang/ispc: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/33450
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch | 16 -
 dev-lang/ispc/files/ispc-1.18.0-llvm.patch | 39 --
 2 files changed, 55 deletions(-)

diff --git a/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch 
b/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch
deleted file mode 100644
index 127b7095a778..
--- a/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch
+++ /dev/null
@@ -1,16 +0,0 @@
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -530,11 +530,8 @@ else()
- else()
- find_package(Curses REQUIRED)
- find_package(ZLIB REQUIRED)
--if (CURSES_EXTRA_LIBRARY)
--# this contains the tinfo library, if found
--target_link_libraries(${PROJECT_NAME} ${CURSES_EXTRA_LIBRARY})
--endif()
--target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} 
${CURSES_CURSES_LIBRARY})
-+set(CURSES_NEED_NCURSES ON)
-+target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} 
${CURSES_LIBRARIES})
- endif()
- endif()
- 

diff --git a/dev-lang/ispc/files/ispc-1.18.0-llvm.patch 
b/dev-lang/ispc/files/ispc-1.18.0-llvm.patch
deleted file mode 100644
index 7303ac0fd6e8..
--- a/dev-lang/ispc/files/ispc-1.18.0-llvm.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -218,7 +218,7 @@ if (WASM_ENABLED)
- list(APPEND ISPC_TARGETS wasm-i32x4)
- endif()
-
--set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
-+set(CLANG_LIBRARY_LIST clang clang-cpp)
- set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option frontendopenmp)
-
- if (X86_ENABLED)
-@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
- endif()
- 
- # Link against Clang libraries
--foreach(clangLib ${CLANG_LIBRARY_LIST})
--find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
--list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
--endforeach()
--target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
-+find_package(Clang REQUIRED)
-+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
- 
- # Link against LLVM libraries
- target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
-diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
-index 06fab989..57a7130f 100644
 a/src/llvmutil.cpp
-+++ b/src/llvmutil.cpp
-@@ -42,6 +42,7 @@
- #include 
- #include 
- #include 
-+#include 
-
- #ifdef ISPC_GENX_ENABLED
- #include 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-10-19 Thread Michał Górny
commit: 7cabea64c858b3d5bc30db0fd4f2a47d1d4b724d
Author: Violet Purcell  inventati  org>
AuthorDate: Mon Oct  9 15:34:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 19 15:13:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cabea64

dev-lang/ispc: drop 1.18.0

Closes: https://bugs.gentoo.org/905161
Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/33263
Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest   |  1 -
 dev-lang/ispc/ispc-1.18.0.ebuild | 80 
 2 files changed, 81 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 188333b63a8f..5dc60d213eaa 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06
 DIST ispc-1.19.0.tar.gz 19577782 BLAKE2B 
5ad6b0bb27f2a27267a26a729693bd16250ae5e8740728290fe6ad85c7ecd4da40f316f2ca6b1447ff3a13f6949db4ed2af6ebf2c6ce6ba43620dfb1943d
 SHA512 
140f16bc0f9e0a94853b50a5433be9196ee09b6c70a1840d400d0d201143da8cb2b1b92a857acf5856ed3410bfffd17678eb1029996f9007fe947f5ac78bf1bb

diff --git a/dev-lang/ispc/ispc-1.18.0.ebuild b/dev-lang/ispc/ispc-1.18.0.ebuild
deleted file mode 100644
index a343a4857794..
--- a/dev-lang/ispc/ispc-1.18.0.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-LLVM_MAX_SLOT=14
-inherit cmake python-any-r1 llvm
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.io/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_NO_DUMPS=ON
-   -DISPC_INCLUDE_EXAMPLES=OFF
-   -DISPC_INCLUDE_TESTS=$(usex test)
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   einstalldocs
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-06-12 Thread Sam James
commit: 926e584fb821dde95da2674ee77dbc1c9aed1d2d
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 12 15:44:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 12 15:44:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926e584f

dev-lang/ispc: Stabilize 1.19.0 amd64, #908407

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.19.0.ebuild b/dev-lang/ispc/ispc-1.19.0.ebuild
index df12999e9acb..4eca85d45f4a 100644
--- a/dev-lang/ispc/ispc-1.19.0.ebuild
+++ b/dev-lang/ispc/ispc-1.19.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2023-05-03 Thread Sam James
commit: 83c64ad3ecf5c63e3063ba318e86e3c8c8821a21
Author: Sam James  gentoo  org>
AuthorDate: Wed May  3 11:26:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  3 11:26:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c64ad3

dev-lang/ispc: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/895572
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/files/ispc-1.19.0-gcc13.patch | 27 +++
 dev-lang/ispc/ispc-1.19.0.ebuild|  1 +
 2 files changed, 28 insertions(+)

diff --git a/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch 
b/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch
new file mode 100644
index ..e2bae38ae581
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.19.0-gcc13.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/895572
+https://github.com/ispc/ispc/commit/ffc75e464ff2b8fce7dbf74f1846ebd0852bc6f9
+
+From ffc75e464ff2b8fce7dbf74f1846ebd0852bc6f9 Mon Sep 17 00:00:00 2001
+From: Luya Tshimbalanga 
+Date: Tue, 28 Feb 2023 17:20:21 -0800
+Subject: [PATCH] Fix build with GCC 13 and possibly Clang 15
+
+This fix add missing  include to handle "uint32_t".
+--- a/src/target_registry.h
 b/src/target_registry.h
+@@ -1,5 +1,5 @@
+ /*
+-  Copyright (c) 2019-2021, Intel Corporation
++  Copyright (c) 2019-2023, Intel Corporation
+   All rights reserved.
+ 
+   Redistribution and use in source and binary forms, with or without
+@@ -40,6 +40,7 @@
+ #include "bitcode_lib.h"
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ 
+

diff --git a/dev-lang/ispc/ispc-1.19.0.ebuild b/dev-lang/ispc/ispc-1.19.0.ebuild
index c03f574d20cc..df12999e9acb 100644
--- a/dev-lang/ispc/ispc-1.19.0.ebuild
+++ b/dev-lang/ispc/ispc-1.19.0.ebuild
@@ -33,6 +33,7 @@ BDEPEND="
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.19.0-curses-cmake.patch
+   "${FILESDIR}"/${P}-gcc13.patch
 )
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2023-05-01 Thread Sam James
commit: 7c5d27c59fe681f7e7ac938ec8258d7464e85cc4
Author: Sebastian Parborg  gmail  com>
AuthorDate: Mon May  1 14:01:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 15:14:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5d27c5

dev-lang/ispc: Bump to 1.19.0

Signed-off-by: Sebastian Parborg  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest |  1 +
 dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch | 16 +
 dev-lang/ispc/ispc-1.19.0.ebuild   | 78 ++
 3 files changed, 95 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 5357aeb5efa4..188333b63a8f 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06
+DIST ispc-1.19.0.tar.gz 19577782 BLAKE2B 
5ad6b0bb27f2a27267a26a729693bd16250ae5e8740728290fe6ad85c7ecd4da40f316f2ca6b1447ff3a13f6949db4ed2af6ebf2c6ce6ba43620dfb1943d
 SHA512 
140f16bc0f9e0a94853b50a5433be9196ee09b6c70a1840d400d0d201143da8cb2b1b92a857acf5856ed3410bfffd17678eb1029996f9007fe947f5ac78bf1bb

diff --git a/dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch 
b/dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch
new file mode 100644
index ..19a19e871ee7
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.19.0-curses-cmake.patch
@@ -0,0 +1,16 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -598,11 +598,8 @@ else()
+ target_link_libraries(${PROJECT_NAME} pthread tinfo.a curses.a)
+ else()
+ find_package(Curses REQUIRED)
+-if (CURSES_EXTRA_LIBRARY)
+-# this contains the tinfo library, if found
+-target_link_libraries(${PROJECT_NAME} ${CURSES_EXTRA_LIBRARY})
+-endif()
+-target_link_libraries(${PROJECT_NAME} pthread 
${CURSES_CURSES_LIBRARY})
++set(CURSES_NEED_NCURSES ON)
++target_link_libraries(${PROJECT_NAME} pthread ${CURSES_LIBRARIES})
+ endif()
+ endif()
+ 

diff --git a/dev-lang/ispc/ispc-1.19.0.ebuild b/dev-lang/ispc/ispc-1.19.0.ebuild
new file mode 100644
index ..c03f574d20cc
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.19.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+LLVM_MAX_SLOT=15
+inherit cmake python-any-r1 llvm
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.io/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="https://bugs.gentoo.org/730062
+   ewarn "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_INCLUDE_EXAMPLES=OFF
+   -DISPC_INCLUDE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/bin/ispc
+   einstalldocs
+
+   if use examples; then
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-02-26 Thread 罗百科
commit: 1bb646dc54faf059b710fe1d67959bbf24fe5a18
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sun Feb 26 08:26:42 2023 +
Commit: 罗百科  gentoo  org>
CommitDate: Sun Feb 26 08:27:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb646dc

dev-lang/ispc: enable py3.11

Closes: https://bugs.gentoo.org/896694
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-lang/ispc/ispc-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.18.0.ebuild b/dev-lang/ispc/ispc-1.18.0.ebuild
index 6f2ee56c5a5e..a343a4857794 100644
--- a/dev-lang/ispc/ispc-1.18.0.ebuild
+++ b/dev-lang/ispc/ispc-1.18.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 LLVM_MAX_SLOT=14
 inherit cmake python-any-r1 llvm
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-01-26 Thread Andreas Sturmlechner
commit: 8ff90c95b695ef975994623360254011e4e1cb66
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jan 26 20:49:58 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jan 26 20:50:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff90c95

dev-lang/ispc: drop 1.17.0-r2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-lang/ispc/Manifest  |  1 -
 dev-lang/ispc/ispc-1.17.0-r2.ebuild | 78 -
 2 files changed, 79 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 11843f8095de..5357aeb5efa4 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 
11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707
 SHA512 
b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879ffbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
 DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06

diff --git a/dev-lang/ispc/ispc-1.17.0-r2.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
deleted file mode 100644
index e61bd13adf34..
--- a/dev-lang/ispc/ispc-1.17.0-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..10} )
-LLVM_MAX_SLOT=14
-inherit cmake python-any-r1 llvm
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.io/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_NO_DUMPS=ON
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   einstalldocs
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2023-01-08 Thread Joonas Niilola
commit: e54571b9f66b61bed558dbb6b636ea3a25fd7376
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Jan  8 16:03:51 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Jan  8 16:04:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e54571b9

dev-lang/ispc: Stabilize 1.18.0 amd64, #886717

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/ispc/ispc-1.18.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.18.0.ebuild b/dev-lang/ispc/ispc-1.18.0.ebuild
index ec835cb94bdb..0222c2396d5d 100644
--- a/dev-lang/ispc/ispc-1.18.0.ebuild
+++ b/dev-lang/ispc/ispc-1.18.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-12-24 Thread Andreas Sturmlechner
commit: e03dbe1a2fe010085615279f76893d209258dae4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Dec 24 14:02:24 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Dec 24 14:03:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03dbe1a

dev-lang/ispc: Revert "drop 1.17.0-r2"

This reverts commit 01a8653e5090a4363e02b13bc6c6de706789f103.

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-lang/ispc/Manifest  |  1 +
 dev-lang/ispc/ispc-1.17.0-r2.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 5357aeb5efa4..11843f8095de 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
+DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 
11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707
 SHA512 
b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879ffbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
 DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06

diff --git a/dev-lang/ispc/ispc-1.17.0-r2.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
new file mode 100644
index ..804e3471c52c
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=14
+inherit cmake python-any-r1 llvm
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.io/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="https://bugs.gentoo.org/730062
+   ewarn "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_NO_DUMPS=ON
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/bin/ispc
+   einstalldocs
+
+   if use examples; then
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-12-24 Thread Andreas Sturmlechner
commit: 01a8653e5090a4363e02b13bc6c6de706789f103
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec 18 12:24:57 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Dec 24 14:00:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a8653e

dev-lang/ispc: drop 1.17.0-r2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-lang/ispc/Manifest  |  1 -
 dev-lang/ispc/ispc-1.17.0-r2.ebuild | 78 -
 2 files changed, 79 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 11843f8095de..5357aeb5efa4 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 
11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707
 SHA512 
b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879ffbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
 DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06

diff --git a/dev-lang/ispc/ispc-1.17.0-r2.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
deleted file mode 100644
index 804e3471c52c..
--- a/dev-lang/ispc/ispc-1.17.0-r2.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=14
-inherit cmake python-any-r1 llvm
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.io/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_NO_DUMPS=ON
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   einstalldocs
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/

2022-12-23 Thread Sam James
commit: dc09348059fd08b3857a43953bf559230dad57be
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Dec 21 17:45:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 24 07:14:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc093480

dev-lang/ispc: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28735
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/files/ispc--llvm.patch | 42 
 1 file changed, 42 deletions(-)

diff --git a/dev-lang/ispc/files/ispc--llvm.patch 
b/dev-lang/ispc/files/ispc--llvm.patch
deleted file mode 100644
index 934d9eaf5a60..
--- a/dev-lang/ispc/files/ispc--llvm.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -218,10 +218,7 @@ if (WASM_ENABLED)
- list(APPEND ISPC_TARGETS wasm-i32x4)
- endif()
-
--set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
-+set(CLANG_LIBRARY_LIST clang clang-cpp)
--if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "15.0.0")
--list(APPEND CLANG_LIBRARY_LIST clangSupport)
--endif()
- set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option frontendopenmp)
- if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "15.0.0")
- # windowsdriver is a small library introduced in LLVM 15. While it's 
targeted at Windows only,
-@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
- endif()
- 
- # Link against Clang libraries
--foreach(clangLib ${CLANG_LIBRARY_LIST})
--find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
--list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
--endforeach()
--target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
-+find_package(Clang REQUIRED)
-+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
- 
- # Link against LLVM libraries
- target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST} ${CMAKE_DL_LIBS})
-diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
-index 06fab989..57a7130f 100644
 a/src/llvmutil.cpp
-+++ b/src/llvmutil.cpp
-@@ -42,6 +42,7 @@
- #include 
- #include 
- #include 
-+#include 
-
- #ifdef ISPC_GENX_ENABLED
- #include 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-12-19 Thread Andreas Sturmlechner
commit: 12dc89aeee30b40658dfd1699b13eb0fe52cd19f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec 18 12:26:01 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Dec 19 14:44:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12dc89ae

dev-lang/ispc: drop out-of-sync  ebuild

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-lang/ispc/ispc-.ebuild | 78 --
 1 file changed, 78 deletions(-)

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
deleted file mode 100644
index 843faa818262..
--- a/dev-lang/ispc/ispc-.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=15
-inherit cmake python-any-r1 llvm
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.io/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_NO_DUMPS=ON
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   einstalldocs
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-10-13 Thread Ionen Wolkens
commit: 92377a50196b00ab96a13782bd0fe99ea72d8e77
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Oct 13 10:29:25 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Oct 13 10:30:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92377a50

dev-lang/ispc: fix patch for 1.17.0 too

Bug: https://bugs.gentoo.org/873676
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-lang/ispc/ispc-1.17.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.17.0-r2.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
index b195585f3de7..804e3471c52c 100644
--- a/dev-lang/ispc/ispc-1.17.0-r2.ebuild
+++ b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
@@ -31,7 +31,7 @@ BDEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}/${PN}--llvm.patch"
+   "${FILESDIR}/${PN}-1.18.0-llvm.patch"
 )
 
 CMAKE_BUILD_TYPE="RelWithDebInfo"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2022-09-30 Thread Sam James
commit: d247aa7519850a5a67619659b91249892d4b5c41
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  1 03:11:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  1 03:12:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d247aa75

dev-lang/ispc: fix non- patch

Closes: https://bugs.gentoo.org/873676
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/files/ispc-1.18.0-llvm.patch | 39 ++
 dev-lang/ispc/ispc-1.18.0.ebuild   |  4 +--
 dev-lang/ispc/ispc-.ebuild |  4 +--
 3 files changed, 43 insertions(+), 4 deletions(-)

diff --git a/dev-lang/ispc/files/ispc-1.18.0-llvm.patch 
b/dev-lang/ispc/files/ispc-1.18.0-llvm.patch
new file mode 100644
index ..7303ac0fd6e8
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.18.0-llvm.patch
@@ -0,0 +1,39 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -218,7 +218,7 @@ if (WASM_ENABLED)
+ list(APPEND ISPC_TARGETS wasm-i32x4)
+ endif()
+
+-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
++set(CLANG_LIBRARY_LIST clang clang-cpp)
+ set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option frontendopenmp)
+
+ if (X86_ENABLED)
+@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
+ endif()
+ 
+ # Link against Clang libraries
+-foreach(clangLib ${CLANG_LIBRARY_LIST})
+-find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
+-list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
+-endforeach()
+-target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
++find_package(Clang REQUIRED)
++target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
+ 
+ # Link against LLVM libraries
+ target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
+diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
+index 06fab989..57a7130f 100644
+--- a/src/llvmutil.cpp
 b/src/llvmutil.cpp
+@@ -42,6 +42,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+
+ #ifdef ISPC_GENX_ENABLED
+ #include 

diff --git a/dev-lang/ispc/ispc-1.18.0.ebuild b/dev-lang/ispc/ispc-1.18.0.ebuild
index 47d74e37d160..ec835cb94bdb 100644
--- a/dev-lang/ispc/ispc-1.18.0.ebuild
+++ b/dev-lang/ispc/ispc-1.18.0.ebuild
@@ -32,8 +32,8 @@ BDEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}/${PN}--llvm.patch"
-   "${FILESDIR}"/ispc-1.18.0-curses-cmake.patch
+   "${FILESDIR}"/${PN}-1.18.0-llvm.patch
+   "${FILESDIR}"/${PN}-1.18.0-curses-cmake.patch
 )
 
 pkg_setup() {

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 8da425ce2b9c..843faa818262 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -31,7 +31,7 @@ BDEPEND="
 "
 
 PATCHES=(
-   "${FILESDIR}/${PN}--llvm.patch"
+   "${FILESDIR}"/${PN}--llvm.patch
 )
 
 CMAKE_BUILD_TYPE="RelWithDebInfo"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/

2022-09-29 Thread Sam James
commit: 6f5f03d793825d23190f9530d7d0359199f2cc30
Author: Sebastian Parborg  gmail  com>
AuthorDate: Thu Sep 29 09:46:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 29 23:52:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5f03d7

dev-lang/ispc: Update live ebuild llvm patch

Signed-off-by: Sebastian Parborg  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/files/ispc--llvm.patch | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-lang/ispc/files/ispc--llvm.patch 
b/dev-lang/ispc/files/ispc--llvm.patch
index 7303ac0fd6e8..934d9eaf5a60 100644
--- a/dev-lang/ispc/files/ispc--llvm.patch
+++ b/dev-lang/ispc/files/ispc--llvm.patch
@@ -2,15 +2,18 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 13e66268..27ff8364 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -218,7 +218,7 @@ if (WASM_ENABLED)
+@@ -218,10 +218,7 @@ if (WASM_ENABLED)
  list(APPEND ISPC_TARGETS wasm-i32x4)
  endif()
 
 -set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
 +set(CLANG_LIBRARY_LIST clang clang-cpp)
+-if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "15.0.0")
+-list(APPEND CLANG_LIBRARY_LIST clangSupport)
+-endif()
  set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option frontendopenmp)
-
- if (X86_ENABLED)
+ if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "15.0.0")
+ # windowsdriver is a small library introduced in LLVM 15. While it's 
targeted at Windows only,
 @@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
  endif()
  
@@ -24,7 +27,7 @@ index 13e66268..27ff8364 100644
 +target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
  
  # Link against LLVM libraries
- target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
+ target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST} ${CMAKE_DL_LIBS})
 diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
 index 06fab989..57a7130f 100644
 --- a/src/llvmutil.cpp



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-07-19 Thread Michał Górny
commit: e40ef24dbdd59fc834ba3ddbadb11e81eac79ca6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 19 07:44:31 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 19 07:44:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40ef24d

dev-lang/ispc: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-lang/ispc/Manifest   |  1 -
 dev-lang/ispc/ispc-1.16.1.ebuild | 78 
 2 files changed, 79 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 2214e159cf2b..11843f8095de 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,3 +1,2 @@
-DIST ispc-1.16.1.tar.gz 19549428 BLAKE2B 
742d94208d39f0560c3f2199ee06fc12f3ec2cf47c1039212219c6aa106b20cd58219e5d439c4fd1ce4a0c1a423655d0c2113a2a78152c99b4d77452171acce6
 SHA512 
89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463
 DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 
11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707
 SHA512 
b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879ffbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
 DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06

diff --git a/dev-lang/ispc/ispc-1.16.1.ebuild b/dev-lang/ispc/ispc-1.16.1.ebuild
deleted file mode 100644
index 827e661e4f5e..
--- a/dev-lang/ispc/ispc-1.16.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=12
-inherit cmake python-any-r1 llvm
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.io/";
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="https://bugs.gentoo.org/730062
-   ewarn "Removing auto-x86 build on amd64"
-   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
-   fi
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DARM_ENABLED=$(usex arm)
-   -DCMAKE_SKIP_RPATH=ON
-   -DISPC_NO_DUMPS=ON
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   einstalldocs
-
-   if use examples; then
-   docompress -x /usr/share/doc/${PF}/examples
-   dodoc -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2022-06-12 Thread Sam James
commit: 3f7c76111dcab8a628c26847de1ae045bacbc49d
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 12 12:02:11 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 12 12:02:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f7c7611

dev-lang/ispc: add 1.18.0

Closes: https://bugs.gentoo.org/841731
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest |  1 +
 dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch | 16 +
 dev-lang/ispc/ispc-1.18.0.ebuild   | 80 ++
 3 files changed, 97 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 6c9781daedf4..2214e159cf2b 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1,3 @@
 DIST ispc-1.16.1.tar.gz 19549428 BLAKE2B 
742d94208d39f0560c3f2199ee06fc12f3ec2cf47c1039212219c6aa106b20cd58219e5d439c4fd1ce4a0c1a423655d0c2113a2a78152c99b4d77452171acce6
 SHA512 
89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463
 DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 
11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707
 SHA512 
b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879ffbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
+DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B 
dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283
 SHA512 
350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06

diff --git a/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch 
b/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch
new file mode 100644
index ..127b7095a778
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.18.0-curses-cmake.patch
@@ -0,0 +1,16 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -530,11 +530,8 @@ else()
+ else()
+ find_package(Curses REQUIRED)
+ find_package(ZLIB REQUIRED)
+-if (CURSES_EXTRA_LIBRARY)
+-# this contains the tinfo library, if found
+-target_link_libraries(${PROJECT_NAME} ${CURSES_EXTRA_LIBRARY})
+-endif()
+-target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} 
${CURSES_CURSES_LIBRARY})
++set(CURSES_NEED_NCURSES ON)
++target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} 
${CURSES_LIBRARIES})
+ endif()
+ endif()
+ 

diff --git a/dev-lang/ispc/ispc-1.18.0.ebuild b/dev-lang/ispc/ispc-1.18.0.ebuild
new file mode 100644
index ..47d74e37d160
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.18.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=14
+inherit cmake python-any-r1 llvm
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.io/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="https://bugs.gentoo.org/730062
+   ewarn "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_NO_DUMPS=ON
+   -DISPC_INCLUDE_EXAMPLES=OFF
+   -DISPC_INCLUDE_TESTS=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/bin/ispc
+   einstalldocs
+
+   if use examples; then
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-05-20 Thread Joonas Niilola
commit: c02d094889748ee6eaf0ce5f1a23049506b2641c
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri May 20 13:18:16 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 20 13:21:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02d0948

dev-lang/ispc: revbump 1.17.0 due to LLVM_SLOT update

 - as noted by sam.

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/ispc/{ispc-1.17.0-r1.ebuild => ispc-1.17.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.17.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
similarity index 100%
rename from dev-lang/ispc/ispc-1.17.0-r1.ebuild
rename to dev-lang/ispc/ispc-1.17.0-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-05-20 Thread Joonas Niilola
commit: 5776efc67c4d4b910e9e187fd33c09f7544bac1e
Author: Sebastian Parborg  gmail  com>
AuthorDate: Mon May  2 14:12:52 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri May 20 11:25:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5776efc6

dev-lang/ispc: Bump supported LLVM versions

Signed-off-by: Sebastian Parborg  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/ispc/ispc-1.17.0-r1.ebuild | 2 +-
 dev-lang/ispc/ispc-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.17.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r1.ebuild
index 1aa1bd3661c7..b195585f3de7 100644
--- a/dev-lang/ispc/ispc-1.17.0-r1.ebuild
+++ b/dev-lang/ispc/ispc-1.17.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=13
+LLVM_MAX_SLOT=14
 inherit cmake python-any-r1 llvm
 
 DESCRIPTION="Intel SPMD Program Compiler"

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index d71abadb585a..8da425ce2b9c 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=15
 inherit cmake python-any-r1 llvm
 
 DESCRIPTION="Intel SPMD Program Compiler"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-04-24 Thread Sam James
commit: b8cf1e6f92ff11977a85fb6fc1fe37f51ec90fba
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 25 02:40:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 25 02:40:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8cf1e6f

dev-lang/ispc: Stabilize 1.17.0-r1 amd64, #840613

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.17.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.17.0-r1.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r1.ebuild
index 1856351fc963..1aa1bd3661c7 100644
--- a/dev-lang/ispc/ispc-1.17.0-r1.ebuild
+++ b/dev-lang/ispc/ispc-1.17.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-01-19 Thread 罗百科
commit: 63fc3db3d1b9ac9d31c76f496144529ac947e07a
Author: Patrick Lauer  gentoo  org>
AuthorDate: Thu Jan 20 07:40:58 2022 +
Commit: 罗百科  gentoo  org>
CommitDate: Thu Jan 20 07:41:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fc3db3

dev-lang/ispc: Allow llvm-13 for ispc-1.17

Thanks to Marcos Rodrigues Gonzalez for testing and reporting.
Upstream is officially still on 12, but it builds and tests pass.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-lang/ispc/{ispc-1.17.0.ebuild => ispc-1.17.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.17.0.ebuild 
b/dev-lang/ispc/ispc-1.17.0-r1.ebuild
similarity index 98%
rename from dev-lang/ispc/ispc-1.17.0.ebuild
rename to dev-lang/ispc/ispc-1.17.0-r1.ebuild
index a0b5d2d84d28..1856351fc963 100644
--- a/dev-lang/ispc/ispc-1.17.0.ebuild
+++ b/dev-lang/ispc/ispc-1.17.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
-LLVM_MAX_SLOT=12
+LLVM_MAX_SLOT=13
 inherit cmake python-any-r1 llvm
 
 DESCRIPTION="Intel SPMD Program Compiler"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2022-01-18 Thread 罗百科
commit: 057af034ac23b7d508919e79b3fb55d521b62d79
Author: Patrick Lauer  gentoo  org>
AuthorDate: Wed Jan 19 07:32:00 2022 +
Commit: 罗百科  gentoo  org>
CommitDate: Wed Jan 19 07:32:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=057af034

dev-lang/ispc: Bump to 1.17.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick Lauer  gentoo.org>

 dev-lang/ispc/Manifest   |  1 +
 dev-lang/ispc/ispc-1.17.0.ebuild | 78 
 2 files changed, 79 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 59e44b09137a..a461c6e709b2 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1,3 @@
 DIST ispc-1.16.0.tar.gz 19548153 BLAKE2B 
9b6d9329430d59041a76c20332b527560afa47a5585652abdf93aedb7907483d1647c829f2bd3f396cd53301bc79367cd91606b90a543fa8bec2f6ab34452989
 SHA512 
8469db4e3e9834477345b431162543f1c8e680aa9834c9a50239781dc7febfdde0561c2f13d1387e37f95a18c4376a85cb9cbae33cb614dc8977dfc9f47da215
 DIST ispc-1.16.1.tar.gz 19549428 BLAKE2B 
742d94208d39f0560c3f2199ee06fc12f3ec2cf47c1039212219c6aa106b20cd58219e5d439c4fd1ce4a0c1a423655d0c2113a2a78152c99b4d77452171acce6
 SHA512 
89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463
+DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 
11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707
 SHA512 
b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879ffbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac

diff --git a/dev-lang/ispc/ispc-1.17.0.ebuild b/dev-lang/ispc/ispc-1.17.0.ebuild
new file mode 100644
index ..a0b5d2d84d28
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.17.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=12
+inherit cmake python-any-r1 llvm
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.io/";
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="https://bugs.gentoo.org/730062
+   ewarn "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_NO_DUMPS=ON
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/bin/ispc
+   einstalldocs
+
+   if use examples; then
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-11-07 Thread Jakov Smolić
commit: d93c563cbb0216a9f4faa5ef41b41cb0d7336fc0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Nov  7 11:38:18 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Nov  7 11:38:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d93c563c

dev-lang/ispc: Stabilize 1.16.1 amd64, #822180

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-lang/ispc/ispc-1.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.16.1.ebuild b/dev-lang/ispc/ispc-1.16.1.ebuild
index d71abadb585..827e661e4f5 100644
--- a/dev-lang/ispc/ispc-1.16.1.ebuild
+++ b/dev-lang/ispc/ispc-1.16.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-10-30 Thread Sam James
commit: 48a5beb72cf70eafd244de77e55218229311f91a
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 31 05:53:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 05:53:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a5beb7

dev-lang/ispc: Stabilize 1.16.0 amd64, #803884

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.16.0.ebuild b/dev-lang/ispc/ispc-1.16.0.ebuild
index a7fa960167b..7ea24fc9ecc 100644
--- a/dev-lang/ispc/ispc-1.16.0.ebuild
+++ b/dev-lang/ispc/ispc-1.16.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-10-19 Thread Sam James
commit: 1c70c859516a9b67cc46c2f075eff296592d00ef
Author: Christophe Lermytte  lermytte  be>
AuthorDate: Fri Oct  8 11:12:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 04:11:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c70c859

dev-lang/ispc: bump to 1.16.1 and fix llvm dependency

Closes: https://bugs.gentoo.org/816069
Signed-off-by: Christophe Lermytte  lermytte.be>
Closes: https://github.com/gentoo/gentoo/pull/22516
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest |  1 +
 .../ispc/{ispc-.ebuild => ispc-1.16.1.ebuild}  | 23 +++---
 dev-lang/ispc/ispc-.ebuild | 23 +++---
 3 files changed, 23 insertions(+), 24 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index e70729967c1..59e44b09137 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.16.0.tar.gz 19548153 BLAKE2B 
9b6d9329430d59041a76c20332b527560afa47a5585652abdf93aedb7907483d1647c829f2bd3f396cd53301bc79367cd91606b90a543fa8bec2f6ab34452989
 SHA512 
8469db4e3e9834477345b431162543f1c8e680aa9834c9a50239781dc7febfdde0561c2f13d1387e37f95a18c4376a85cb9cbae33cb614dc8977dfc9f47da215
+DIST ispc-1.16.1.tar.gz 19549428 BLAKE2B 
742d94208d39f0560c3f2199ee06fc12f3ec2cf47c1039212219c6aa106b20cd58219e5d439c4fd1ce4a0c1a423655d0c2113a2a78152c99b4d77452171acce6
 SHA512 
89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-1.16.1.ebuild
similarity index 83%
copy from dev-lang/ispc/ispc-.ebuild
copy to dev-lang/ispc/ispc-1.16.1.ebuild
index b0a22ba1f90..d71abadb585 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-1.16.1.ebuild
@@ -3,11 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8,9,10} )
-
-inherit cmake llvm python-any-r1
-
+PYTHON_COMPAT=( python3_{8..10} )
 LLVM_MAX_SLOT=12
+inherit cmake python-any-r1 llvm
 
 DESCRIPTION="Intel SPMD Program Compiler"
 HOMEPAGE="https://ispc.github.io/";
@@ -17,20 +15,20 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 IUSE="examples"
 
-RDEPEND="https://ispc.github.io/";
@@ -17,20 +15,20 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 IUSE="examples"
 
-RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-09-18 Thread Sam James
commit: 5024f6e047a6933fbe929f1e8eb18c9ee8f8d127
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 19 03:29:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 19 03:29:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5024f6e0

dev-lang/ispc: Keyword 1.16.0 ppc64, #795279

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.16.0.ebuild b/dev-lang/ispc/ispc-1.16.0.ebuild
index 03e716db250..a7fa960167b 100644
--- a/dev-lang/ispc/ispc-1.16.0.ebuild
+++ b/dev-lang/ispc/ispc-1.16.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-09-18 Thread Sam James
commit: 58a1a160cb5f293045233fbedf7729128896cbae
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 19 03:08:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 19 03:08:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a1a160

dev-lang/ispc: Keyword 1.16.0 arm, #795279

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.16.0.ebuild b/dev-lang/ispc/ispc-1.16.0.ebuild
index 03d9f435be7..03e716db250 100644
--- a/dev-lang/ispc/ispc-1.16.0.ebuild
+++ b/dev-lang/ispc/ispc-1.16.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-09-18 Thread Sam James
commit: 83c67f207144fc58fc3204088134d34b9951c7e5
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 19 03:08:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 19 03:08:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c67f20

dev-lang/ispc: Keyword 1.16.0 arm64, #795279

Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.16.0.ebuild b/dev-lang/ispc/ispc-1.16.0.ebuild
index b0a22ba1f90..03d9f435be7 100644
--- a/dev-lang/ispc/ispc-1.16.0.ebuild
+++ b/dev-lang/ispc/ispc-1.16.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="~amd64 ~arm64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/, dev-lang/ispc/

2021-07-24 Thread Ionen Wolkens
commit: 8a91f68c7b24c9482f470ddfb4e04fe1cadefafe
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Jul 25 00:50:56 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Jul 25 01:35:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a91f68c

dev-lang/ispc: drop 1.14.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-lang/ispc/Manifest |   1 -
 .../files/ispc-1.13.0-cmake-gentoo-release.patch   |  13 ---
 dev-lang/ispc/files/ispc-1.13.0-werror.patch   |  13 ---
 dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch  | 106 -
 dev-lang/ispc/ispc-1.14.1.ebuild   |  82 
 5 files changed, 215 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 30167e29bb8..e70729967c1 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.14.1.tar.gz 19454189 BLAKE2B 
615698e64ffbd2c82808d6ddd0b5b90f7c52bb8c202a04364d63af26f0e062631f4a8ad01895c1a4f1a8f11e7f91aec381354ddd873d0a4f2908431dcaabe383
 SHA512 
468e8a44408047ba7b43dc4baf05c2659093b986e131ebe973954ff3b9cf707a4ed22c705b6e01a9abc9a3911669ab31cd191449442c4ac73112a1297da32c5e
 DIST ispc-1.16.0.tar.gz 19548153 BLAKE2B 
9b6d9329430d59041a76c20332b527560afa47a5585652abdf93aedb7907483d1647c829f2bd3f396cd53301bc79367cd91606b90a543fa8bec2f6ab34452989
 SHA512 
8469db4e3e9834477345b431162543f1c8e680aa9834c9a50239781dc7febfdde0561c2f13d1387e37f95a18c4376a85cb9cbae33cb614dc8977dfc9f47da215

diff --git a/dev-lang/ispc/files/ispc-1.13.0-cmake-gentoo-release.patch 
b/dev-lang/ispc/files/ispc-1.13.0-cmake-gentoo-release.patch
deleted file mode 100644
index b89e6150400..000
--- a/dev-lang/ispc/files/ispc-1.13.0-cmake-gentoo-release.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -137,7 +137,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_CURRENT_BINARY_DIR}/bin )
- 
- if(CMAKE_BUILD_TYPE)
- # Validate build type
--set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo")
-+set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;Gentoo")
- 
- string(FIND "${CONFIGURATION_TYPES}" "${CMAKE_BUILD_TYPE}" MATCHED_CONFIG)
- if (${MATCHED_CONFIG} EQUAL -1)

diff --git a/dev-lang/ispc/files/ispc-1.13.0-werror.patch 
b/dev-lang/ispc/files/ispc-1.13.0-werror.patch
deleted file mode 100644
index 3fa144b78db..000
--- a/dev-lang/ispc/files/ispc-1.13.0-werror.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -352,7 +352,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
-${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR})
- # Compile options
- if (UNIX)
--target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-sign-compare 
-Wno-unused-function -Werror ${LLVM_CPP_FLAGS})
-+target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-sign-compare 
-Wno-unused-function ${LLVM_CPP_FLAGS})
- # Security options
- target_compile_options(${PROJECT_NAME} PRIVATE -fstack-protector 
-fdata-sections -ffunction-sections
--Wformat -Wformat-security -fpie -fwrapv)

diff --git a/dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch 
b/dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch
deleted file mode 100644
index 7a76d99aca8..000
--- a/dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -218,7 +218,7 @@ if (WASM_ENABLED)
- list(APPEND ISPC_TARGETS wasm-i32x4)
- endif()
- 
--set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
-+set(CLANG_LIBRARY_LIST clang clang-cpp)
- set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option)
- 
- if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")
-@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
- endif()
- 
- # Link against Clang libraries
--foreach(clangLib ${CLANG_LIBRARY_LIST})
--find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
--list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
--endforeach()
--target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
-+find_package(Clang REQUIRED)
-+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
- 
- # Link against LLVM libraries
- target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
-diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
-index 06fab989..57a7130f 100644
 a/src/llvmutil.cpp
-+++ b/src/llvmutil.cpp
-@@ -42,6 +42,7 @@
- #include 
- #include 
- #include 
-+#include 
-
- #ifdef ISPC_GENX_ENABLED
- #include 
-@@ -1394,7 +1395,7 @@ static void lDumpValue(llvm::Value *v, 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-06-19 Thread Ionen Wolkens
commit: 297d996757be1cf6381bfb06279a896bd9d8ec7d
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Jun 19 23:01:42 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Jun 19 23:21:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297d9967

dev-lang/ispc: minor style fixes, drop cmake gentoo patch

Patch does not make sense anymore given this ebuild is setting
another CMAKE_BUILD_TYPE.

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-lang/ispc/ispc-1.16.0.ebuild | 36 
 dev-lang/ispc/ispc-.ebuild   | 36 
 2 files changed, 32 insertions(+), 40 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.16.0.ebuild b/dev-lang/ispc/ispc-1.16.0.ebuild
index 8c7854a7766..b0a22ba1f90 100644
--- a/dev-lang/ispc/ispc-1.16.0.ebuild
+++ b/dev-lang/ispc/ispc-1.16.0.ebuild
@@ -5,14 +5,14 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9,10} )
 
-inherit cmake python-any-r1 llvm
+inherit cmake llvm python-any-r1
 
 LLVM_MAX_SLOT=12
 
 DESCRIPTION="Intel SPMD Program Compiler"
 HOMEPAGE="https://ispc.github.io/";
 
-if [[ ${PV} = * ]]; then
+if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
@@ -27,15 +27,12 @@ IUSE="examples"
 RDEPEND="https://bugs.gentoo.org/730062
-   elog "Removing auto-x86 build on amd64"
+   ewarn "Removing auto-x86 build on amd64"
sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
fi
 
@@ -59,25 +56,24 @@ src_prepare() {
 
 src_configure() {
local mycmakeargs=(
-   "-DARM_ENABLED=$(usex arm)"
-   "-DCMAKE_SKIP_RPATH=ON"
-   "-DISPC_NO_DUMPS=ON"
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_NO_DUMPS=ON
)
cmake_src_configure
 }
 
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
+}
+
 src_install() {
dobin "${BUILD_DIR}"/bin/ispc
-   dodoc README.md
+   einstalldocs
 
if use examples; then
-   insinto "/usr/share/doc/${PF}/examples"
-   docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r "${S}"/examples/*
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
fi
 }
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 8c7854a7766..b0a22ba1f90 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -5,14 +5,14 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9,10} )
 
-inherit cmake python-any-r1 llvm
+inherit cmake llvm python-any-r1
 
 LLVM_MAX_SLOT=12
 
 DESCRIPTION="Intel SPMD Program Compiler"
 HOMEPAGE="https://ispc.github.io/";
 
-if [[ ${PV} = * ]]; then
+if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
 else
@@ -27,15 +27,12 @@ IUSE="examples"
 RDEPEND="https://bugs.gentoo.org/730062
-   elog "Removing auto-x86 build on amd64"
+   ewarn "Removing auto-x86 build on amd64"
sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
fi
 
@@ -59,25 +56,24 @@ src_prepare() {
 
 src_configure() {
local mycmakeargs=(
-   "-DARM_ENABLED=$(usex arm)"
-   "-DCMAKE_SKIP_RPATH=ON"
-   "-DISPC_NO_DUMPS=ON"
+   -DARM_ENABLED=$(usex arm)
+   -DCMAKE_SKIP_RPATH=ON
+   -DISPC_NO_DUMPS=ON
)
cmake_src_configure
 }
 
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
+}
+
 src_install() {
dobin "${BUILD_DIR}"/bin/ispc
-   dodoc README.md
+   einstalldocs
 
if use examples; then
-   insinto "/usr/share/doc/${PF}/examples"
-   docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r "${S}"/examples/*
+   docompress -x /usr/share/doc/${PF}/examples
+   dodoc -r examples
fi
 }
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die 
"Testing failed under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2021-06-19 Thread Ionen Wolkens
commit: 9a274ddefe2e6083569c1c3c62ef0bf0244ba02f
Author: Alexander Golubev  gmail  com>
AuthorDate: Fri Jun 18 23:03:32 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Jun 19 23:21:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a274dde

dev-lang/ispc: bump to 1.16.0

* Drop unused toolchain-funcs eclass
* Drop python-7 and bump python-10
* Fix KEYWORDS placement in the live ebuild

Closes: https://bugs.gentoo.org/796632
Signed-off-by: Alexander Golubev  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/21316
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-lang/ispc/Manifest | 1 +
 dev-lang/ispc/{ispc-.ebuild => ispc-1.16.0.ebuild} | 6 +++---
 dev-lang/ispc/ispc-.ebuild | 6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 27426f4de70..30167e29bb8 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.14.1.tar.gz 19454189 BLAKE2B 
615698e64ffbd2c82808d6ddd0b5b90f7c52bb8c202a04364d63af26f0e062631f4a8ad01895c1a4f1a8f11e7f91aec381354ddd873d0a4f2908431dcaabe383
 SHA512 
468e8a44408047ba7b43dc4baf05c2659093b986e131ebe973954ff3b9cf707a4ed22c705b6e01a9abc9a3911669ab31cd191449442c4ac73112a1297da32c5e
+DIST ispc-1.16.0.tar.gz 19548153 BLAKE2B 
9b6d9329430d59041a76c20332b527560afa47a5585652abdf93aedb7907483d1647c829f2bd3f396cd53301bc79367cd91606b90a543fa8bec2f6ab34452989
 SHA512 
8469db4e3e9834477345b431162543f1c8e680aa9834c9a50239781dc7febfdde0561c2f13d1387e37f95a18c4376a85cb9cbae33cb614dc8977dfc9f47da215

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-1.16.0.ebuild
similarity index 94%
copy from dev-lang/ispc/ispc-.ebuild
copy to dev-lang/ispc/ispc-1.16.0.ebuild
index 8cc95c5d749..8c7854a7766 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-1.16.0.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 
-inherit cmake toolchain-funcs python-any-r1 llvm
+inherit cmake python-any-r1 llvm
 
 LLVM_MAX_SLOT=12
 
@@ -15,9 +15,9 @@ HOMEPAGE="https://ispc.github.io/";
 if [[ ${PV} = * ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-   KEYWORDS=""
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 8cc95c5d749..8c7854a7766 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -3,9 +3,9 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 
-inherit cmake toolchain-funcs python-any-r1 llvm
+inherit cmake python-any-r1 llvm
 
 LLVM_MAX_SLOT=12
 
@@ -15,9 +15,9 @@ HOMEPAGE="https://ispc.github.io/";
 if [[ ${PV} = * ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-   KEYWORDS=""
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/, dev-lang/ispc/

2021-06-11 Thread Ionen Wolkens
commit: f40b8f3444f962cf41f8a8f677e5c3c6e8c9eacd
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Jun 11 11:04:11 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Jun 11 11:06:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40b8f34

dev-lang/ispc: remove upstreamed -Werror patch for live ebuild

Closes: https://bugs.gentoo.org/795294
Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-lang/ispc/files/ispc--werror.patch | 13 -
 dev-lang/ispc/ispc-.ebuild |  1 -
 2 files changed, 14 deletions(-)

diff --git a/dev-lang/ispc/files/ispc--werror.patch 
b/dev-lang/ispc/files/ispc--werror.patch
deleted file mode 100644
index 0e860a95de2..000
--- a/dev-lang/ispc/files/ispc--werror.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -352,7 +352,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
- set_source_files_properties(${FLEX_OUTPUT} PROPERTIES COMPILE_FLAGS 
"/wd4005 /wd4003")
- set_source_files_properties(${BISON_OUTPUT} PROPERTIES COMPILE_FLAGS 
"/wd4005 /wd4065")
- else()
--target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-sign-compare 
-Wno-unused-function -Werror ${LLVM_CPP_FLAGS})
-+target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-sign-compare 
-Wno-unused-function ${LLVM_CPP_FLAGS})
- # The change implementing -Wno-unused-but-set-variable in clang was 
reverted, so commenting out for now.
- #if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "13.0.0")
- #set_source_files_properties(${BISON_CPP_OUTPUT} PROPERTIES 
COMPILE_FLAGS "-Wno-unused-but-set-variable")

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 23b20156fd2..8cc95c5d749 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -37,7 +37,6 @@ BDEPEND="
 PATCHES=(
"${FILESDIR}/${PN}-1.13.0-cmake-gentoo-release.patch"
"${FILESDIR}/${PN}--llvm.patch"
-   "${FILESDIR}/${PN}--werror.patch"
 )
 
 CMAKE_BUILD_TYPE="RelWithDebInfo"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2021-05-25 Thread Joonas Niilola
commit: b26f9d3cc957269fcaad9d44148fa225420eb5e5
Author: Sebastian Parborg  gmail  com>
AuthorDate: Wed Apr 21 14:02:00 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed May 26 05:21:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b26f9d3c

dev-lang/ispc: Update live ebuild

Signed-off-by: Sebastian Parborg  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20498
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/ispc/files/ispc--llvm.patch   | 39 ++
 dev-lang/ispc/files/ispc--werror.patch | 13 ++
 dev-lang/ispc/ispc-.ebuild | 19 +--
 3 files changed, 63 insertions(+), 8 deletions(-)

diff --git a/dev-lang/ispc/files/ispc--llvm.patch 
b/dev-lang/ispc/files/ispc--llvm.patch
new file mode 100644
index 000..7303ac0fd6e
--- /dev/null
+++ b/dev-lang/ispc/files/ispc--llvm.patch
@@ -0,0 +1,39 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -218,7 +218,7 @@ if (WASM_ENABLED)
+ list(APPEND ISPC_TARGETS wasm-i32x4)
+ endif()
+
+-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
++set(CLANG_LIBRARY_LIST clang clang-cpp)
+ set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option frontendopenmp)
+
+ if (X86_ENABLED)
+@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
+ endif()
+ 
+ # Link against Clang libraries
+-foreach(clangLib ${CLANG_LIBRARY_LIST})
+-find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
+-list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
+-endforeach()
+-target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
++find_package(Clang REQUIRED)
++target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
+ 
+ # Link against LLVM libraries
+ target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
+diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
+index 06fab989..57a7130f 100644
+--- a/src/llvmutil.cpp
 b/src/llvmutil.cpp
+@@ -42,6 +42,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+
+ #ifdef ISPC_GENX_ENABLED
+ #include 

diff --git a/dev-lang/ispc/files/ispc--werror.patch 
b/dev-lang/ispc/files/ispc--werror.patch
new file mode 100644
index 000..0e860a95de2
--- /dev/null
+++ b/dev-lang/ispc/files/ispc--werror.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -352,7 +352,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
+ set_source_files_properties(${FLEX_OUTPUT} PROPERTIES COMPILE_FLAGS 
"/wd4005 /wd4003")
+ set_source_files_properties(${BISON_OUTPUT} PROPERTIES COMPILE_FLAGS 
"/wd4005 /wd4065")
+ else()
+-target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-sign-compare 
-Wno-unused-function -Werror ${LLVM_CPP_FLAGS})
++target_compile_options(${PROJECT_NAME} PRIVATE -Wall -Wno-sign-compare 
-Wno-unused-function ${LLVM_CPP_FLAGS})
+ # The change implementing -Wno-unused-but-set-variable in clang was 
reverted, so commenting out for now.
+ #if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "13.0.0")
+ #set_source_files_properties(${BISON_CPP_OUTPUT} PROPERTIES 
COMPILE_FLAGS "-Wno-unused-but-set-variable")

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index aeb4e572cb4..23b20156fd2 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,10 +7,10 @@ PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit cmake toolchain-funcs python-any-r1 llvm
 
-LLVM_MAX_SLOT=10
+LLVM_MAX_SLOT=12
 
 DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.com/";
+HOMEPAGE="https://ispc.github.io/";
 
 if [[ ${PV} = * ]]; then
inherit git-r3
@@ -24,7 +24,7 @@ LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 IUSE="examples"
 
-RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-12-09 Thread Joonas Niilola
commit: 53cc01edc10416724da63affea4c44abc53c9360
Author: Adrian Grigo  yahoo  com  au>
AuthorDate: Fri Nov 27 11:14:55 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Dec  9 09:42:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53cc01ed

dev-lang/ispc: Iscp only supports up to LLVM 10

Iscp does not yet have llvm 11 support, so limit clang and llvm in both
ebuilds to version 10 maximum.

Thanks to Toralf Förster, brothermechanic and Marco Genasci for their
contributions to fixing this bug, I am only repackaging it.

A working ispc is needed for adding embree support to blender.

See https://github.com/ispc/ispc/issues/1896

Signed-off-by: Adrian Grigo  yahoo.com.au>
Closes: https://bugs.gentoo.org/749573
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/18427
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lang/ispc/ispc-1.14.1.ebuild | 14 +-
 dev-lang/ispc/ispc-.ebuild   | 13 -
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.14.1.ebuild b/dev-lang/ispc/ispc-1.14.1.ebuild
index 58c0534cc5b..0dd7a876778 100644
--- a/dev-lang/ispc/ispc-1.14.1.ebuild
+++ b/dev-lang/ispc/ispc-1.14.1.ebuild
@@ -5,7 +5,9 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8,9} )
 
-inherit cmake toolchain-funcs python-any-r1
+inherit cmake toolchain-funcs python-any-r1 llvm
+
+LLVM_MAX_SLOT=10
 
 DESCRIPTION="Intel SPMD Program Compiler"
 HOMEPAGE="https://ispc.github.com/";
@@ -22,10 +24,8 @@ LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 IUSE="examples"
 
-RDEPEND="
-   >=sys-devel/clang-3.0:*
-   >=sys-devel/llvm-3.0:*
-   "
+RDEPEND="https://ispc.github.com/";
@@ -22,10 +24,7 @@ LICENSE="BSD BSD-2 UoI-NCSA"
 SLOT="0"
 IUSE="examples"
 
-RDEPEND="
-   >=sys-devel/clang-3.0:*
-   >=sys-devel/llvm-3.0:*
-   "
+RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 7758368a250147fa04349e80e775fce286487d6a
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 03:17:34 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 03:17:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7758368a

dev-lang/ispc: only define KEYWORDS once

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.14.1.ebuild | 1 -
 dev-lang/ispc/ispc-.ebuild   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.14.1.ebuild b/dev-lang/ispc/ispc-1.14.1.ebuild
index 0fe93ece37e..58c0534cc5b 100644
--- a/dev-lang/ispc/ispc-1.14.1.ebuild
+++ b/dev-lang/ispc/ispc-1.14.1.ebuild
@@ -13,7 +13,6 @@ HOMEPAGE="https://ispc.github.com/";
 if [[ ${PV} = * ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-   KEYWORDS=""
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 0fe93ece37e..07b62cdb24d 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -16,7 +16,6 @@ if [[ ${PV} = * ]]; then
KEYWORDS=""
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="BSD BSD-2 UoI-NCSA"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 95eb535e5071dcef0e6174c4e2f5c39003c35543
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 02:15:14 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 02:15:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95eb535e

dev-lang/ispc: disable x86 build on amd64

The build system assumes we want an x86 (i686)
build on amd64, even if we don't (not a multilib
ebuild anyway, but this is a particular issue
on non-multilib profiles).

Bug: https://bugs.gentoo.org/730062
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.14.1.ebuild | 12 
 dev-lang/ispc/ispc-.ebuild   | 14 +-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.14.1.ebuild b/dev-lang/ispc/ispc-1.14.1.ebuild
index 0bd27f696f5..0fe93ece37e 100644
--- a/dev-lang/ispc/ispc-1.14.1.ebuild
+++ b/dev-lang/ispc/ispc-1.14.1.ebuild
@@ -42,6 +42,18 @@ PATCHES=(
"${FILESDIR}/${PN}-1.13.0-werror.patch"
 )
 
+src_prepare() {
+   if use amd64; then
+   # On amd64 systems, build system enables x86/i686 build too.
+   # This ebuild doesn't even have multilib support, nor need it.
+   # https://bugs.gentoo.org/730062
+   elog "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
 src_configure() {
local mycmakeargs=(
"-DARM_ENABLED=$(usex arm)"

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index bba207d71c5..0fe93ece37e 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -42,6 +42,18 @@ PATCHES=(
"${FILESDIR}/${PN}-1.13.0-werror.patch"
 )
 
+src_prepare() {
+   if use amd64; then
+   # On amd64 systems, build system enables x86/i686 build too.
+   # This ebuild doesn't even have multilib support, nor need it.
+   # https://bugs.gentoo.org/730062
+   elog "Removing auto-x86 build on amd64"
+   sed -i -e 's:set(target_arch "i686"):return():' 
cmake/GenerateBuiltins.cmake || die
+   fi
+
+   cmake_src_prepare
+}
+
 src_configure() {
local mycmakeargs=(
"-DARM_ENABLED=$(usex arm)"
@@ -63,5 +75,5 @@ src_install() {
 
 src_test() {
# Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} run_tests.py || die "Testing 
failed with ${EPYTHON}"
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} run_tests.py || die "Testing 
failed under ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 02c0fd67971ba61110f164384936852940c1c5c4
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 00:52:27 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 00:52:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c0fd67

dev-lang/ispc: set CMAKE_SKIP_RPATH in  too

See e4afb9b0edbef303dd0af6229c3a5791b2d6cd5b.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index f5ecbcdb7ea..d3dac5179e7 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
 src_configure() {
local mycmakeargs=(
"-DARM_ENABLED=$(usex arm)"
+   "-DCMAKE_SKIP_RPATH=ON"
)
cmake_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 07a7fba54ea64b3b6c185d17898c68a6ca3e319d
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 01:16:29 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 01:16:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a7fba5

dev-lang/ispc: bump to 1.14.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest   |  1 +
 dev-lang/ispc/ispc-1.14.1.ebuild | 67 
 2 files changed, 68 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 4572d984a64..ff3dab92e0f 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.14.0.tar.gz 19454030 BLAKE2B 
3bd494f4357c7c756c6bc63c76ced37feb83e8f6f73b0adc9e432f37e905efe0f7fe5f8b153d3ccff3ac9f826d0c76f7c33f2a151887ab900088bab95e626856
 SHA512 
a1325a26804f08a357c84cb1d7266bd56d6d135314985337e057e39ddf556a7332922926e9d10db817048a8d5b491467de7261029a0a46726f330a00791ee8f8
+DIST ispc-1.14.1.tar.gz 19454189 BLAKE2B 
615698e64ffbd2c82808d6ddd0b5b90f7c52bb8c202a04364d63af26f0e062631f4a8ad01895c1a4f1a8f11e7f91aec381354ddd873d0a4f2908431dcaabe383
 SHA512 
468e8a44408047ba7b43dc4baf05c2659093b986e131ebe973954ff3b9cf707a4ed22c705b6e01a9abc9a3911669ab31cd191449442c4ac73112a1297da32c5e

diff --git a/dev-lang/ispc/ispc-1.14.1.ebuild b/dev-lang/ispc/ispc-1.14.1.ebuild
new file mode 100644
index 000..0bd27f696f5
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.14.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake toolchain-funcs python-any-r1
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.com/";
+
+if [[ ${PV} = * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+   >=sys-devel/clang-3.0:*
+   >=sys-devel/llvm-3.0:*
+   "
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   "
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   "
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.13.0-cmake-gentoo-release.patch"
+   "${FILESDIR}/${PN}-1.14.0-llvm-10.patch"
+   "${FILESDIR}/${PN}-1.13.0-werror.patch"
+)
+
+src_configure() {
+   local mycmakeargs=(
+   "-DARM_ENABLED=$(usex arm)"
+   "-DCMAKE_SKIP_RPATH=ON"
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   dobin "${BUILD_DIR}"/bin/ispc
+   dodoc README.md
+
+   if use examples; then
+   insinto "/usr/share/doc/${PF}/examples"
+   docompress -x "/usr/share/doc/${PF}/examples"
+   doins -r "${BUILD_DIR}"/examples/*
+   fi
+}
+
+src_test() {
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} run_tests.py || die "Testing 
failed under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: b24038b91beea9399c6b0df4d2cbc32c37077cb5
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 01:15:55 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 01:15:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24038b9

dev-lang/ispc: run tests using built ispc

Provide a hint to the test runner by putting
the newly-built ispc at the front of PATH.

This avoids running tests with the system's
ispc if it exists.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.14.0.ebuild | 3 ++-
 dev-lang/ispc/ispc-.ebuild   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.14.0.ebuild b/dev-lang/ispc/ispc-1.14.0.ebuild
index d3dac5179e7..bba207d71c5 100644
--- a/dev-lang/ispc/ispc-1.14.0.ebuild
+++ b/dev-lang/ispc/ispc-1.14.0.ebuild
@@ -62,5 +62,6 @@ src_install() {
 }
 
 src_test() {
-   ${EPYTHON} run_tests.py || die "Testing failed."
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} run_tests.py || die "Testing 
failed with ${EPYTHON}"
 }

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index d3dac5179e7..bba207d71c5 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -62,5 +62,6 @@ src_install() {
 }
 
 src_test() {
-   ${EPYTHON} run_tests.py || die "Testing failed."
+   # Inject path to prevent using system ispc
+   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} run_tests.py || die "Testing 
failed with ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 448b51f4ddc3b4b3d1e9ef538ef3b6bdbbee01b1
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 01:17:57 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 01:17:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448b51f4

dev-lang/ispc: cleanup old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest   |  1 -
 dev-lang/ispc/ispc-1.14.0.ebuild | 67 
 2 files changed, 68 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index ff3dab92e0f..27426f4de70 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.14.0.tar.gz 19454030 BLAKE2B 
3bd494f4357c7c756c6bc63c76ced37feb83e8f6f73b0adc9e432f37e905efe0f7fe5f8b153d3ccff3ac9f826d0c76f7c33f2a151887ab900088bab95e626856
 SHA512 
a1325a26804f08a357c84cb1d7266bd56d6d135314985337e057e39ddf556a7332922926e9d10db817048a8d5b491467de7261029a0a46726f330a00791ee8f8
 DIST ispc-1.14.1.tar.gz 19454189 BLAKE2B 
615698e64ffbd2c82808d6ddd0b5b90f7c52bb8c202a04364d63af26f0e062631f4a8ad01895c1a4f1a8f11e7f91aec381354ddd873d0a4f2908431dcaabe383
 SHA512 
468e8a44408047ba7b43dc4baf05c2659093b986e131ebe973954ff3b9cf707a4ed22c705b6e01a9abc9a3911669ab31cd191449442c4ac73112a1297da32c5e

diff --git a/dev-lang/ispc/ispc-1.14.0.ebuild b/dev-lang/ispc/ispc-1.14.0.ebuild
deleted file mode 100644
index bba207d71c5..000
--- a/dev-lang/ispc/ispc-1.14.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8,9} )
-
-inherit cmake toolchain-funcs python-any-r1
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.com/";
-
-if [[ ${PV} = * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="
-   >=sys-devel/clang-3.0:*
-   >=sys-devel/llvm-3.0:*
-   "
-DEPEND="
-   ${RDEPEND}
-   ${PYTHON_DEPS}
-   "
-BDEPEND="
-   sys-devel/bison
-   sys-devel/flex
-   "
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.13.0-cmake-gentoo-release.patch"
-   "${FILESDIR}/${PN}-1.14.0-llvm-10.patch"
-   "${FILESDIR}/${PN}-1.13.0-werror.patch"
-)
-
-src_configure() {
-   local mycmakeargs=(
-   "-DARM_ENABLED=$(usex arm)"
-   "-DCMAKE_SKIP_RPATH=ON"
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   dobin "${BUILD_DIR}"/bin/ispc
-   dodoc README.md
-
-   if use examples; then
-   insinto "/usr/share/doc/${PF}/examples"
-   docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r "${BUILD_DIR}"/examples/*
-   fi
-}
-
-src_test() {
-   # Inject path to prevent using system ispc
-   PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} run_tests.py || die "Testing 
failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/, dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 6d7f758287a022cd45049c37930d7ab5b4938526
Author: Sebastian Parborg  gmail  com>
AuthorDate: Sat Sep  5 21:44:32 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 00:42:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d7f7582

dev-lang/ispc: Drop old 1.13.0 ebuild

Signed-off-by: Sebastian Parborg  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17282
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest|   1 -
 dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch | 106 --
 dev-lang/ispc/ispc-1.13.0.ebuild  |  59 --
 3 files changed, 166 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 886b57a17be..4572d984a64 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.13.0.tar.gz 19202295 BLAKE2B 
5fae81429acbda0d65d33e56609d05fb8b5a7db6dd0af5ff779d1e8954f6a98d1fcb0f7ecf0c1b9813630026557c21c2a70bfc87ed75959a8bd24e06fcd2e351
 SHA512 
d23c127beb9bb17e1ad2509f9ad51dd660c473458b939a6b64ca7f6319b3c2f25318ea2ceac00e4100a059f3f67fb97b6973f18e3432c82ff9691f2a08d15d5d
 DIST ispc-1.14.0.tar.gz 19454030 BLAKE2B 
3bd494f4357c7c756c6bc63c76ced37feb83e8f6f73b0adc9e432f37e905efe0f7fe5f8b153d3ccff3ac9f826d0c76f7c33f2a151887ab900088bab95e626856
 SHA512 
a1325a26804f08a357c84cb1d7266bd56d6d135314985337e057e39ddf556a7332922926e9d10db817048a8d5b491467de7261029a0a46726f330a00791ee8f8

diff --git a/dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch 
b/dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch
deleted file mode 100644
index 6911a76d9e1..000
--- a/dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -218,7 +218,7 @@ if (WASM_ENABLED)
- list(APPEND ISPC_TARGETS wasm-i32x4)
- endif()
- 
--set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
-+set(CLANG_LIBRARY_LIST clang clang-cpp)
- set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option)
- 
- if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")
-@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
- endif()
- 
- # Link against Clang libraries
--foreach(clangLib ${CLANG_LIBRARY_LIST})
--find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
--list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
--endforeach()
--target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
-+find_package(Clang REQUIRED)
-+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
- 
- # Link against LLVM libraries
- target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
-diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
-index 06fab989..57a7130f 100644
 a/src/llvmutil.cpp
-+++ b/src/llvmutil.cpp
-@@ -42,6 +42,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-@@ -1394,7 +1395,7 @@ static void lDumpValue(llvm::Value *v, 
std::set &done) {
- return;
- 
- fprintf(stderr, "  ");
--v->dump();
-+v->print(llvm::outs(), false);
- done.insert(v);
- 
- if (inst == NULL)
-diff --git a/src/opt.cpp b/src/opt.cpp
-index d78ac374..a607594a 100644
 a/src/opt.cpp
-+++ b/src/opt.cpp
-@@ -142,7 +142,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
-
getenv("FUNC"), strlen(getenv("FUNC")) {\
- fprintf(stderr, "Start of " NAME "\n");   
 \
- fprintf(stderr, "---\n"); 
 \
--bb.dump();
 \
-+bb.print(llvm::outs(), false);
   \
- fprintf(stderr, "---\n\n");   
 \
- } else /* eat semicolon */
- 
-@@ -152,7 +152,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
-
getenv("FUNC"), strlen(getenv("FUNC")) {\
- fprintf(stderr, "End of " NAME " %s\n", modifiedAny ? "** CHANGES **" 
: "");   \
- fprintf(stderr, "---\n"); 
 \
--bb.dump();
 \
-+bb.print(llvm::outs(), false);
   \
- fprintf(stderr, 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: e4afb9b0edbef303dd0af6229c3a5791b2d6cd5b
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 10 00:40:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 00:42:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4afb9b0

dev-lang/ispc: set CMAKE_SKIP_RPATH

An empty (but defined) DT_RUNPATH is a common
security vulnerability. Best to not expose it
if it's unnecessary.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-1.14.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/ispc/ispc-1.14.0.ebuild b/dev-lang/ispc/ispc-1.14.0.ebuild
index f5ecbcdb7ea..d3dac5179e7 100644
--- a/dev-lang/ispc/ispc-1.14.0.ebuild
+++ b/dev-lang/ispc/ispc-1.14.0.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
 src_configure() {
local mycmakeargs=(
"-DARM_ENABLED=$(usex arm)"
+   "-DCMAKE_SKIP_RPATH=ON"
)
cmake_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-09-09 Thread Sam James
commit: c462ffd988d8cecbe687451ce70f6e596aee81a0
Author: Sebastian Parborg  gmail  com>
AuthorDate: Sat Sep  5 21:43:22 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 00:42:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c462ffd9

dev-lang/ispc: Update live ebuild

Signed-off-by: Sebastian Parborg  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/ispc-.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index c8398b962c6..f5ecbcdb7ea 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
 inherit cmake toolchain-funcs python-any-r1
 
@@ -30,13 +30,15 @@ RDEPEND="
 DEPEND="
${RDEPEND}
${PYTHON_DEPS}
+   "
+BDEPEND="
sys-devel/bison
sys-devel/flex
"
 
 PATCHES=(
"${FILESDIR}/${PN}-1.13.0-cmake-gentoo-release.patch"
-   "${FILESDIR}/${PN}-1.13.0-llvm-10.patch"
+   "${FILESDIR}/${PN}-1.14.0-llvm-10.patch"
"${FILESDIR}/${PN}-1.13.0-werror.patch"
 )
 
@@ -57,3 +59,7 @@ src_install() {
doins -r "${BUILD_DIR}"/examples/*
fi
 }
+
+src_test() {
+   ${EPYTHON} run_tests.py || die "Testing failed."
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/files/, dev-lang/ispc/

2020-09-09 Thread Sam James
commit: 65348f0cb721bd7b1a16b44915ca70cfabcfc064
Author: Sebastian Parborg  gmail  com>
AuthorDate: Sat Sep  5 21:41:48 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 10 00:42:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65348f0c

dev-lang/ispc: Version bump to 1.14.0

Signed-off-by: Sebastian Parborg  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/ispc/Manifest|   1 +
 dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch | 106 ++
 dev-lang/ispc/ispc-1.14.0.ebuild  |  65 
 3 files changed, 172 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index b1de2c9d7ee..886b57a17be 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.13.0.tar.gz 19202295 BLAKE2B 
5fae81429acbda0d65d33e56609d05fb8b5a7db6dd0af5ff779d1e8954f6a98d1fcb0f7ecf0c1b9813630026557c21c2a70bfc87ed75959a8bd24e06fcd2e351
 SHA512 
d23c127beb9bb17e1ad2509f9ad51dd660c473458b939a6b64ca7f6319b3c2f25318ea2ceac00e4100a059f3f67fb97b6973f18e3432c82ff9691f2a08d15d5d
+DIST ispc-1.14.0.tar.gz 19454030 BLAKE2B 
3bd494f4357c7c756c6bc63c76ced37feb83e8f6f73b0adc9e432f37e905efe0f7fe5f8b153d3ccff3ac9f826d0c76f7c33f2a151887ab900088bab95e626856
 SHA512 
a1325a26804f08a357c84cb1d7266bd56d6d135314985337e057e39ddf556a7332922926e9d10db817048a8d5b491467de7261029a0a46726f330a00791ee8f8

diff --git a/dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch 
b/dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch
new file mode 100644
index 000..7a76d99aca8
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.14.0-llvm-10.patch
@@ -0,0 +1,106 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -218,7 +218,7 @@ if (WASM_ENABLED)
+ list(APPEND ISPC_TARGETS wasm-i32x4)
+ endif()
+ 
+-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
++set(CLANG_LIBRARY_LIST clang clang-cpp)
+ set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option)
+ 
+ if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")
+@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
+ endif()
+ 
+ # Link against Clang libraries
+-foreach(clangLib ${CLANG_LIBRARY_LIST})
+-find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
+-list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
+-endforeach()
+-target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
++find_package(Clang REQUIRED)
++target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
+ 
+ # Link against LLVM libraries
+ target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
+diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
+index 06fab989..57a7130f 100644
+--- a/src/llvmutil.cpp
 b/src/llvmutil.cpp
+@@ -42,6 +42,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+
+ #ifdef ISPC_GENX_ENABLED
+ #include 
+@@ -1394,7 +1395,7 @@ static void lDumpValue(llvm::Value *v, 
std::set &done) {
+ return;
+ 
+ fprintf(stderr, "  ");
+-v->dump();
++v->print(llvm::outs(), false);
+ done.insert(v);
+ 
+ if (inst == NULL)
+diff --git a/src/opt.cpp b/src/opt.cpp
+index d78ac374..a607594a 100644
+--- a/src/opt.cpp
 b/src/opt.cpp
+@@ -142,7 +142,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
+
getenv("FUNC"), strlen(getenv("FUNC")) {\
+ fprintf(stderr, "Start of " NAME "\n");   
 \
+ fprintf(stderr, "---\n"); 
 \
+-bb.dump();
 \
++bb.print(llvm::outs(), false);
   \
+ fprintf(stderr, "---\n\n");   
 \
+ } else /* eat semicolon */
+ 
+@@ -152,7 +152,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
+
getenv("FUNC"), strlen(getenv("FUNC")) {\
+ fprintf(stderr, "End of " NAME " %s\n", modifiedAny ? "** CHANGES **" 
: "");   \
+ fprintf(stderr, "---\n"); 
 \
+-bb.dump();
 \
++bb.print(llvm::outs(), false);
   \
+ fprintf(stderr, "---\n\n"); 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2020-07-29 Thread Andreas Sturmlechner
commit: 36d443c5e4f5e8a370b30b81107dc806b13eeec7
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Jul 29 16:50:02 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jul 29 16:52:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d443c5

dev-lang/ispc: Remove 1.9.2, [QA] drop utterly duplicate patches

Closes: https://bugs.gentoo.org/670628
Closes: https://bugs.gentoo.org/667624
Closes: https://bugs.gentoo.org/652442
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-lang/ispc/Manifest |   1 -
 .../files/ispc--cmake-gentoo-release.patch |  13 ---
 dev-lang/ispc/files/ispc--llvm-10.patch| 106 -
 dev-lang/ispc/files/ispc--werror.patch |  13 ---
 dev-lang/ispc/ispc-1.9.2.ebuild|  52 --
 dev-lang/ispc/ispc-.ebuild |   6 +-
 6 files changed, 3 insertions(+), 188 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 09380cb968c..b1de2c9d7ee 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
 DIST ispc-1.13.0.tar.gz 19202295 BLAKE2B 
5fae81429acbda0d65d33e56609d05fb8b5a7db6dd0af5ff779d1e8954f6a98d1fcb0f7ecf0c1b9813630026557c21c2a70bfc87ed75959a8bd24e06fcd2e351
 SHA512 
d23c127beb9bb17e1ad2509f9ad51dd660c473458b939a6b64ca7f6319b3c2f25318ea2ceac00e4100a059f3f67fb97b6973f18e3432c82ff9691f2a08d15d5d
-DIST ispc-1.9.2.tar.gz 19283765 BLAKE2B 
500cca8a69a78ad9a21dc1e39dcb3ed01730e78deed61e4871ce5a9761829c80ac7b1b987d8e8a48c34b67ac96692b2c5026cfb5059a32c71e228c73550584eb
 SHA512 
77a66086cbfd6c4dc855b3137a270cc40f24829255639aee5f562b0831c21938157667b20cfadc660cd67525c47e2e73b46692f7a11bf0c834dc60b69d40d76d

diff --git a/dev-lang/ispc/files/ispc--cmake-gentoo-release.patch 
b/dev-lang/ispc/files/ispc--cmake-gentoo-release.patch
deleted file mode 100644
index b89e6150400..000
--- a/dev-lang/ispc/files/ispc--cmake-gentoo-release.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -137,7 +137,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_CURRENT_BINARY_DIR}/bin )
- 
- if(CMAKE_BUILD_TYPE)
- # Validate build type
--set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo")
-+set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;Gentoo")
- 
- string(FIND "${CONFIGURATION_TYPES}" "${CMAKE_BUILD_TYPE}" MATCHED_CONFIG)
- if (${MATCHED_CONFIG} EQUAL -1)

diff --git a/dev-lang/ispc/files/ispc--llvm-10.patch 
b/dev-lang/ispc/files/ispc--llvm-10.patch
deleted file mode 100644
index 6911a76d9e1..000
--- a/dev-lang/ispc/files/ispc--llvm-10.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 13e66268..27ff8364 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -218,7 +218,7 @@ if (WASM_ENABLED)
- list(APPEND ISPC_TARGETS wasm-i32x4)
- endif()
- 
--set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
-+set(CLANG_LIBRARY_LIST clang clang-cpp)
- set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option)
- 
- if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")
-@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
- endif()
- 
- # Link against Clang libraries
--foreach(clangLib ${CLANG_LIBRARY_LIST})
--find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
--list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
--endforeach()
--target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
-+find_package(Clang REQUIRED)
-+target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
- 
- # Link against LLVM libraries
- target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
-diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
-index 06fab989..57a7130f 100644
 a/src/llvmutil.cpp
-+++ b/src/llvmutil.cpp
-@@ -42,6 +42,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-@@ -1394,7 +1395,7 @@ static void lDumpValue(llvm::Value *v, 
std::set &done) {
- return;
- 
- fprintf(stderr, "  ");
--v->dump();
-+v->print(llvm::outs(), false);
- done.insert(v);
- 
- if (inst == NULL)
-diff --git a/src/opt.cpp b/src/opt.cpp
-index d78ac374..a607594a 100644
 a/src/opt.cpp
-+++ b/src/opt.cpp
-@@ -142,7 +142,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
-
getenv("FUNC"), strlen(getenv("FUNC")) {\
- fprintf(stderr, "Start of " NAME "\n");   
 \
- fprintf(stderr, "---\n"); 

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2020-07-29 Thread Andreas Sturmlechner
commit: 3017ae7da37129bb873ad5b952c46f178acb65ad
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Jul 29 16:51:43 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jul 29 16:52:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3017ae7d

dev-lang/ispc: [QA] Fix unquoted variable

Bug: https://bugs.gentoo.org/670628
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-lang/ispc/ispc-1.13.0.ebuild | 4 ++--
 dev-lang/ispc/ispc-.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.13.0.ebuild b/dev-lang/ispc/ispc-1.13.0.ebuild
index 244bb728565..33144034d36 100644
--- a/dev-lang/ispc/ispc-1.13.0.ebuild
+++ b/dev-lang/ispc/ispc-1.13.0.ebuild
@@ -48,12 +48,12 @@ src_configure() {
 }
 
 src_install() {
-   dobin ${BUILD_DIR}/bin/ispc
+   dobin "${BUILD_DIR}"/bin/ispc
dodoc README.md
 
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r ${BUILD_DIR}/examples/*
+   doins -r "${BUILD_DIR}"/examples/*
fi
 }

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index d2a75a6652a..c8398b962c6 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -48,12 +48,12 @@ src_configure() {
 }
 
 src_install() {
-   dobin ${BUILD_DIR}/bin/ispc
+   dobin "${BUILD_DIR}"/bin/ispc
dodoc README.md
 
if use examples; then
insinto "/usr/share/doc/${PF}/examples"
docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r ${BUILD_DIR}/examples/*
+   doins -r "${BUILD_DIR}"/examples/*
fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2020-06-28 Thread Christoph Junghans
commit: f073ca910b7838d71043c2ae752fcd0d147937bd
Author: Guillaume BRUN  gmail  com>
AuthorDate: Sun Jun 28 15:48:55 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Jun 28 16:43:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f073ca91

dev-lang/ispc: Add -1.13.0 ebuild

Closes: https://bugs.gentoo.org/656632
Closes: https://bugs.gentoo.org/729924
Signed-off-by: Guillaume BRUN  gmail.com>
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Christoph Junghans  gentoo.org>

 dev-lang/ispc/Manifest |   1 +
 .../files/ispc-1.13.0-cmake-gentoo-release.patch   |  13 +++
 dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch  | 106 +
 dev-lang/ispc/files/ispc-1.13.0-werror.patch   |  13 +++
 .../ispc/{ispc-.ebuild => ispc-1.13.0.ebuild}  |  27 --
 5 files changed, 150 insertions(+), 10 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 20f32b7fe6c..09380cb968c 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
+DIST ispc-1.13.0.tar.gz 19202295 BLAKE2B 
5fae81429acbda0d65d33e56609d05fb8b5a7db6dd0af5ff779d1e8954f6a98d1fcb0f7ecf0c1b9813630026557c21c2a70bfc87ed75959a8bd24e06fcd2e351
 SHA512 
d23c127beb9bb17e1ad2509f9ad51dd660c473458b939a6b64ca7f6319b3c2f25318ea2ceac00e4100a059f3f67fb97b6973f18e3432c82ff9691f2a08d15d5d
 DIST ispc-1.9.2.tar.gz 19283765 BLAKE2B 
500cca8a69a78ad9a21dc1e39dcb3ed01730e78deed61e4871ce5a9761829c80ac7b1b987d8e8a48c34b67ac96692b2c5026cfb5059a32c71e228c73550584eb
 SHA512 
77a66086cbfd6c4dc855b3137a270cc40f24829255639aee5f562b0831c21938157667b20cfadc660cd67525c47e2e73b46692f7a11bf0c834dc60b69d40d76d

diff --git a/dev-lang/ispc/files/ispc-1.13.0-cmake-gentoo-release.patch 
b/dev-lang/ispc/files/ispc-1.13.0-cmake-gentoo-release.patch
new file mode 100644
index 000..b89e6150400
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.13.0-cmake-gentoo-release.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -137,7 +137,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_CURRENT_BINARY_DIR}/bin )
+ 
+ if(CMAKE_BUILD_TYPE)
+ # Validate build type
+-set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo")
++set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;Gentoo")
+ 
+ string(FIND "${CONFIGURATION_TYPES}" "${CMAKE_BUILD_TYPE}" MATCHED_CONFIG)
+ if (${MATCHED_CONFIG} EQUAL -1)

diff --git a/dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch 
b/dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch
new file mode 100644
index 000..6911a76d9e1
--- /dev/null
+++ b/dev-lang/ispc/files/ispc-1.13.0-llvm-10.patch
@@ -0,0 +1,106 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -218,7 +218,7 @@ if (WASM_ENABLED)
+ list(APPEND ISPC_TARGETS wasm-i32x4)
+ endif()
+ 
+-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
++set(CLANG_LIBRARY_LIST clang clang-cpp)
+ set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option)
+ 
+ if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")
+@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
+ endif()
+ 
+ # Link against Clang libraries
+-foreach(clangLib ${CLANG_LIBRARY_LIST})
+-find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
+-list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
+-endforeach()
+-target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
++find_package(Clang REQUIRED)
++target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
+ 
+ # Link against LLVM libraries
+ target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
+diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
+index 06fab989..57a7130f 100644
+--- a/src/llvmutil.cpp
 b/src/llvmutil.cpp
+@@ -42,6 +42,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -1394,7 +1395,7 @@ static void lDumpValue(llvm::Value *v, 
std::set &done) {
+ return;
+ 
+ fprintf(stderr, "  ");
+-v->dump();
++v->print(llvm::outs(), false);
+ done.insert(v);
+ 
+ if (inst == NULL)
+diff --git a/src/opt.cpp b/src/opt.cpp
+index d78ac374..a607594a 100644
+--- a/src/opt.cpp
 b/src/opt.cpp
+@@ -142,7 +142,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
+
getenv("FUNC"), strlen(getenv("FUNC")) {\
+ fprintf(stderr, "Start of " NAME "\n");   
 \
+ fprintf(stderr, "---\n"); 
 \
+-bb.dump();
  

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/, dev-lang/ispc/files/

2020-06-28 Thread Christoph Junghans
commit: 526716bac86709f53cab67e71ab2d899cdcd2269
Author: Guillaume BRUN  gmail  com>
AuthorDate: Sun Jun 28 15:56:26 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Jun 28 16:44:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526716ba

dev-lang/ispc: Add - ebuild

Signed-off-by: Guillaume BRUN  gmail.com>
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Christoph Junghans  gentoo.org>

 .../files/ispc--cmake-gentoo-release.patch |  13 +++
 dev-lang/ispc/files/ispc--llvm-10.patch| 106 +
 dev-lang/ispc/files/ispc--werror.patch |  13 +++
 dev-lang/ispc/ispc-.ebuild |  59 
 dev-lang/ispc/metadata.xml |   5 +-
 5 files changed, 192 insertions(+), 4 deletions(-)

diff --git a/dev-lang/ispc/files/ispc--cmake-gentoo-release.patch 
b/dev-lang/ispc/files/ispc--cmake-gentoo-release.patch
new file mode 100644
index 000..b89e6150400
--- /dev/null
+++ b/dev-lang/ispc/files/ispc--cmake-gentoo-release.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -137,7 +137,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY 
${CMAKE_CURRENT_BINARY_DIR}/bin )
+ 
+ if(CMAKE_BUILD_TYPE)
+ # Validate build type
+-set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo")
++set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo;Gentoo")
+ 
+ string(FIND "${CONFIGURATION_TYPES}" "${CMAKE_BUILD_TYPE}" MATCHED_CONFIG)
+ if (${MATCHED_CONFIG} EQUAL -1)

diff --git a/dev-lang/ispc/files/ispc--llvm-10.patch 
b/dev-lang/ispc/files/ispc--llvm-10.patch
new file mode 100644
index 000..6911a76d9e1
--- /dev/null
+++ b/dev-lang/ispc/files/ispc--llvm-10.patch
@@ -0,0 +1,106 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 13e66268..27ff8364 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -218,7 +218,7 @@ if (WASM_ENABLED)
+ list(APPEND ISPC_TARGETS wasm-i32x4)
+ endif()
+ 
+-set(CLANG_LIBRARY_LIST clangFrontend clangDriver clangSerialization 
clangParse clangSema clangAnalysis clangAST clangBasic clangEdit clangLex)
++set(CLANG_LIBRARY_LIST clang clang-cpp)
+ set(LLVM_COMPONENTS engine ipo bitreader bitwriter instrumentation linker 
option)
+ 
+ if (${LLVM_VERSION_NUMBER} VERSION_GREATER_EQUAL "10.0.0")
+@@ -402,11 +402,8 @@ if (ISPC_USE_ASAN)
+ endif()
+ 
+ # Link against Clang libraries
+-foreach(clangLib ${CLANG_LIBRARY_LIST})
+-find_library(${clangLib}Path NAMES ${clangLib} HINTS ${LLVM_LIBRARY_DIRS})
+-list(APPEND CLANG_LIBRARY_FULL_PATH_LIST ${${clangLib}Path})
+-endforeach()
+-target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_FULL_PATH_LIST})
++find_package(Clang REQUIRED)
++target_link_libraries(${PROJECT_NAME} ${CLANG_LIBRARY_LIST})
+ 
+ # Link against LLVM libraries
+ target_link_libraries(${PROJECT_NAME} ${LLVM_LIBRARY_LIST})
+diff --git a/src/llvmutil.cpp b/src/llvmutil.cpp
+index 06fab989..57a7130f 100644
+--- a/src/llvmutil.cpp
 b/src/llvmutil.cpp
+@@ -42,6 +42,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -1394,7 +1395,7 @@ static void lDumpValue(llvm::Value *v, 
std::set &done) {
+ return;
+ 
+ fprintf(stderr, "  ");
+-v->dump();
++v->print(llvm::outs(), false);
+ done.insert(v);
+ 
+ if (inst == NULL)
+diff --git a/src/opt.cpp b/src/opt.cpp
+index d78ac374..a607594a 100644
+--- a/src/opt.cpp
 b/src/opt.cpp
+@@ -142,7 +142,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
+
getenv("FUNC"), strlen(getenv("FUNC")) {\
+ fprintf(stderr, "Start of " NAME "\n");   
 \
+ fprintf(stderr, "---\n"); 
 \
+-bb.dump();
 \
++bb.print(llvm::outs(), false);
   \
+ fprintf(stderr, "---\n\n");   
 \
+ } else /* eat semicolon */
+ 
+@@ -152,7 +152,7 @@ static llvm::Pass *CreateFixBooleanSelectPass();
+
getenv("FUNC"), strlen(getenv("FUNC")) {\
+ fprintf(stderr, "End of " NAME " %s\n", modifiedAny ? "** CHANGES **" 
: "");   \
+ fprintf(stderr, "---\n"); 
 \
+-bb.dump();
 \

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2018-04-11 Thread Michał Górny
commit: b56aac2cdc5e63d57af11f25b9862ecad672135b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  5 17:43:10 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 11 16:19:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56aac2c

dev-lang/ispc: Drop old (requiring LLVM < 4)

 dev-lang/ispc/Manifest  |  1 -
 dev-lang/ispc/ispc-1.9.1.ebuild | 52 -
 2 files changed, 53 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 48765f8a1e9..20f32b7fe6c 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.9.1.tar.gz 19276043 BLAKE2B 
a9cc96b138cc5424e3a09fa517c8554f79af3c947c05a75c179b35e509e399785da18f72b0a2e0d81be8ea8f04b3ca0f6a90003a76d5d9ac641f55cfdcd47dfc
 SHA512 
4acd9e99dadba684829235a267e15ca8ff4cf33c4cadaa2983006bcb2c2f45fce49e8b11963f4bce78c256aaf8ece0583cf6cb729c6bc75af32b7fa4238ca743
 DIST ispc-1.9.2.tar.gz 19283765 BLAKE2B 
500cca8a69a78ad9a21dc1e39dcb3ed01730e78deed61e4871ce5a9761829c80ac7b1b987d8e8a48c34b67ac96692b2c5026cfb5059a32c71e228c73550584eb
 SHA512 
77a66086cbfd6c4dc855b3137a270cc40f24829255639aee5f562b0831c21938157667b20cfadc660cd67525c47e2e73b46692f7a11bf0c834dc60b69d40d76d

diff --git a/dev-lang/ispc/ispc-1.9.1.ebuild b/dev-lang/ispc/ispc-1.9.1.ebuild
deleted file mode 100644
index 72e2ab831c8..000
--- a/dev-lang/ispc/ispc-1.9.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit toolchain-funcs python-any-r1
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.com/";
-
-if [[ ${PV} = * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="
-   >=sys-devel/clang-3.0:0
-   >=sys-devel/llvm-3.0:0
-   "
-DEPEND="
-   ${RDEPEND}
-   ${PYTHON_DEPS}
-   sys-devel/bison
-   sys-devel/flex
-   "
-
-src_compile() {
-   #make all slient commands ("@") verbose and remove -Werror 
(ispc/ispc#1295)
-   sed -e '/^\t@/s/@//' -e 's/-Werror//' -i Makefile || die
-   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
-}
-
-src_install() {
-   dobin ispc
-   dodoc README.rst
-
-   if use examples; then
-   insinto "/usr/share/doc/${PF}/examples"
-   docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r examples/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2018-04-04 Thread Christoph Junghans
commit: f98ad497ce3ae1e12aaceef0dd4b10c06a1147a4
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Apr  4 13:16:17 2018 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Apr  4 13:16:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f98ad497

dev-lang/ispc: version bump

Closes: https://bugs.gentoo.org/652070
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-lang/ispc/Manifest| 1 +
 dev-lang/ispc/{ispc-.ebuild => ispc-1.9.2.ebuild} | 5 +++--
 dev-lang/ispc/ispc-.ebuild| 5 +++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index e9f1d067c9c..48765f8a1e9 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
 DIST ispc-1.9.1.tar.gz 19276043 BLAKE2B 
a9cc96b138cc5424e3a09fa517c8554f79af3c947c05a75c179b35e509e399785da18f72b0a2e0d81be8ea8f04b3ca0f6a90003a76d5d9ac641f55cfdcd47dfc
 SHA512 
4acd9e99dadba684829235a267e15ca8ff4cf33c4cadaa2983006bcb2c2f45fce49e8b11963f4bce78c256aaf8ece0583cf6cb729c6bc75af32b7fa4238ca743
+DIST ispc-1.9.2.tar.gz 19283765 BLAKE2B 
500cca8a69a78ad9a21dc1e39dcb3ed01730e78deed61e4871ce5a9761829c80ac7b1b987d8e8a48c34b67ac96692b2c5026cfb5059a32c71e228c73550584eb
 SHA512 
77a66086cbfd6c4dc855b3137a270cc40f24829255639aee5f562b0831c21938157667b20cfadc660cd67525c47e2e73b46692f7a11bf0c834dc60b69d40d76d

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-1.9.2.ebuild
similarity index 84%
copy from dev-lang/ispc/ispc-.ebuild
copy to dev-lang/ispc/ispc-1.9.2.ebuild
index 9960e29ff26..d1c2c233112 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-1.9.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,7 +35,8 @@ DEPEND="
"
 
 src_compile() {
-   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   #make all slient commands ("@") verbose and remove -Werror 
(ispc/ispc#1295)
+   sed -e '/^\t@/s/@//' -e 's/-Werror//' -i Makefile || die
emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
 }
 

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 9960e29ff26..d1c2c233112 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,7 +35,8 @@ DEPEND="
"
 
 src_compile() {
-   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   #make all slient commands ("@") verbose and remove -Werror 
(ispc/ispc#1295)
+   sed -e '/^\t@/s/@//' -e 's/-Werror//' -i Makefile || die
emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2017-09-29 Thread Christoph Junghans
commit: d8eed951c484758c7744a261c7570e3729ad4204
Author: Christoph Junghans  gentoo  org>
AuthorDate: Fri Sep 29 22:39:58 2017 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Fri Sep 29 22:40:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8eed951

dev-lang/ispc: remove -Werror (bug #604732, #595254)

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 dev-lang/ispc/ispc-1.9.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.9.1.ebuild b/dev-lang/ispc/ispc-1.9.1.ebuild
index 3c7b498b691..72e2ab831c8 100644
--- a/dev-lang/ispc/ispc-1.9.1.ebuild
+++ b/dev-lang/ispc/ispc-1.9.1.ebuild
@@ -35,7 +35,8 @@ DEPEND="
"
 
 src_compile() {
-   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   #make all slient commands ("@") verbose and remove -Werror 
(ispc/ispc#1295)
+   sed -e '/^\t@/s/@//' -e 's/-Werror//' -i Makefile || die
emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2017-07-30 Thread Michał Górny
commit: 4cf877ee88c7e70b8a99596213c6f28b21bb0b69
Author: David Hicks  hicks  id  au>
AuthorDate: Sat Jul 29 07:48:52 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 30 08:47:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf877ee

dev-lang/ispc: use HTTPS for GitHub

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-lang/ispc/ispc-1.9.1.ebuild | 2 +-
 dev-lang/ispc/ispc-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.9.1.ebuild b/dev-lang/ispc/ispc-1.9.1.ebuild
index 6f982be9b00..3c7b498b691 100644
--- a/dev-lang/ispc/ispc-1.9.1.ebuild
+++ b/dev-lang/ispc/ispc-1.9.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://ispc.github.com/";
 
 if [[ ${PV} = * ]]; then
inherit git-r3
-   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
KEYWORDS=""
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index 5104895366d..9960e29ff26 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://ispc.github.com/";
 
 if [[ ${PV} = * ]]; then
inherit git-r3
-   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
+   EGIT_REPO_URI="https://github.com/ispc/ispc.git";
KEYWORDS=""
 else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2017-03-19 Thread Christoph Junghans
commit: 20c275cc29fbd27626d6266b414717984620a089
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun Mar 19 13:04:54 2017 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Mar 19 14:06:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c275cc

dev-lang/ispc: fix deps (bug #613178)

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-lang/ispc/ispc-1.9.1.ebuild | 6 +++---
 dev-lang/ispc/ispc-.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.9.1.ebuild b/dev-lang/ispc/ispc-1.9.1.ebuild
index b81ffe367e6..6f982be9b00 100644
--- a/dev-lang/ispc/ispc-1.9.1.ebuild
+++ b/dev-lang/ispc/ispc-1.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,8 +24,8 @@ SLOT="0"
 IUSE="examples"
 
 RDEPEND="
-   >=sys-devel/clang-3.0
-   >=sys-devel/llvm-3.0
+   >=sys-devel/clang-3.0:0
+   >=sys-devel/llvm-3.0:0
"
 DEPEND="
${RDEPEND}

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
index b81ffe367e6..5104895366d 100644
--- a/dev-lang/ispc/ispc-.ebuild
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,8 +24,8 @@ SLOT="0"
 IUSE="examples"
 
 RDEPEND="
-   >=sys-devel/clang-3.0
-   >=sys-devel/llvm-3.0
+   >=sys-devel/clang-3.0:*
+   >=sys-devel/llvm-3.0:*
"
 DEPEND="
${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2016-07-13 Thread Christoph Junghans
commit: 8311eeaaa22e347a3651464d5cbb2a5cc6f5a537
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Jul 13 15:26:33 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Jul 13 15:26:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8311eeaa

dev-lang/ispc: remove old

Package-Manager: portage-2.2.28

 dev-lang/ispc/Manifest |  3 --
 dev-lang/ispc/ispc-1.8.2-r2.ebuild | 54 --
 dev-lang/ispc/ispc-1.8.2-r4.ebuild | 59 --
 dev-lang/ispc/ispc-1.9.0.ebuild| 52 -
 4 files changed, 168 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 159d89e..4b6902b 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,4 +1 @@
-DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 
8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 
7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054
 WHIRLPOOL 
9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064
-DIST ispc-1.8.2.tar.gz 19259133 SHA256 
d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 
bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a
 WHIRLPOOL 
45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69
-DIST ispc-1.9.0.tar.gz 19271046 SHA256 
b151e50f80754d81302f968c66cc7444c65010c20d1f83382b94c22491bb3971 SHA512 
d886697fd0390017ee0b8c8682834d8b600b10c08eb069eea53eba7cc68788ec5a8e3f50366636add362c5a0508ef38fc0789f6a349d913b972f325830c78c28
 WHIRLPOOL 
63020bc499e16655bed565187d97ca7810aea294ca32ec8bef5344e4fb11ecc109cf6af7018d820ed28674b82c2a50148bb2d598d0d3cee848d990072bedb717
 DIST ispc-1.9.1.tar.gz 19276043 SHA256 
c52910a007f1b0c732dd1cb981e7c22f3b9b575f0b097a49f4e43fc7a3e7e976 SHA512 
4acd9e99dadba684829235a267e15ca8ff4cf33c4cadaa2983006bcb2c2f45fce49e8b11963f4bce78c256aaf8ece0583cf6cb729c6bc75af32b7fa4238ca743
 WHIRLPOOL 
3eabea7e671ba4383f517b05c47409ec11dabc822e56ec2d909a6bb37f5d56ac7bb94be6b3059edb8ad7bc036d7bebe5061772c4fd0650f1e7c04f4d2ce12cdf

diff --git a/dev-lang/ispc/ispc-1.8.2-r2.ebuild 
b/dev-lang/ispc/ispc-1.8.2-r2.ebuild
deleted file mode 100644
index 235e584..000
--- a/dev-lang/ispc/ispc-1.8.2-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit toolchain-funcs python-any-r1
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.com/";
-
-if [[ ${PV} = * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="
-   >=sys-devel/clang-3.4
-   >=sys-devel/llvm-3.4
-   https://ispc.github.com/";
-
-if [[ ${PV} = * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   http://dev.gentoo.org/~ottxor/dist/${P}-llvm-3.7.patch.gz";
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="
-   >=sys-devel/clang-3.7
-   >=sys-devel/llvm-3.7
-   https://ispc.github.com/";
-
-if [[ ${PV} = * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="
-   >=sys-devel/clang-3.0
-   >=sys-devel/llvm-3.0
-   "
-DEPEND="
-   ${RDEPEND}
-   ${PYTHON_DEPS}
-   sys-devel/bison
-   sys-devel/flex
-   "
-
-src_compile() {
-   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
-   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
-}
-
-src_install() {
-   dobin ispc
-   dodoc README.rst
-
-   if use examples; then
-   insinto "/usr/share/doc/${PF}/examples"
-   docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r examples/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2016-07-13 Thread Christoph Junghans
commit: 4841f5b9cf06f18b5abd3d9b9edac2aa397a43ff
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Jul 13 15:25:45 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Jul 13 15:25:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4841f5b9

dev-lang/ispc: added live ebuild

Package-Manager: portage-2.2.28

 dev-lang/ispc/ispc-.ebuild | 52 ++
 1 file changed, 52 insertions(+)

diff --git a/dev-lang/ispc/ispc-.ebuild b/dev-lang/ispc/ispc-.ebuild
new file mode 100644
index 000..53edbc7
--- /dev/null
+++ b/dev-lang/ispc/ispc-.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit toolchain-funcs python-any-r1
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.com/";
+
+if [[ ${PV} = * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+   >=sys-devel/clang-3.0
+   >=sys-devel/llvm-3.0
+   "
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   sys-devel/bison
+   sys-devel/flex
+   "
+
+src_compile() {
+   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
+}
+
+src_install() {
+   dobin ispc
+   dodoc README.rst
+
+   if use examples; then
+   insinto "/usr/share/doc/${PF}/examples"
+   docompress -x "/usr/share/doc/${PF}/examples"
+   doins -r examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2016-07-12 Thread Christoph Junghans
commit: 8e8dc18523775030358380a16e83f08fcff5b4dd
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Jul 12 19:30:17 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Jul 12 19:30:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8dc185

dev-lang/ispc: version bump

Package-Manager: portage-2.2.28

 dev-lang/ispc/Manifest  |  1 +
 dev-lang/ispc/ispc-1.9.1.ebuild | 52 +
 2 files changed, 53 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 11e4fc0..159d89e 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,3 +1,4 @@
 DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 
8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 
7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054
 WHIRLPOOL 
9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064
 DIST ispc-1.8.2.tar.gz 19259133 SHA256 
d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 
bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a
 WHIRLPOOL 
45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69
 DIST ispc-1.9.0.tar.gz 19271046 SHA256 
b151e50f80754d81302f968c66cc7444c65010c20d1f83382b94c22491bb3971 SHA512 
d886697fd0390017ee0b8c8682834d8b600b10c08eb069eea53eba7cc68788ec5a8e3f50366636add362c5a0508ef38fc0789f6a349d913b972f325830c78c28
 WHIRLPOOL 
63020bc499e16655bed565187d97ca7810aea294ca32ec8bef5344e4fb11ecc109cf6af7018d820ed28674b82c2a50148bb2d598d0d3cee848d990072bedb717
+DIST ispc-1.9.1.tar.gz 19276043 SHA256 
c52910a007f1b0c732dd1cb981e7c22f3b9b575f0b097a49f4e43fc7a3e7e976 SHA512 
4acd9e99dadba684829235a267e15ca8ff4cf33c4cadaa2983006bcb2c2f45fce49e8b11963f4bce78c256aaf8ece0583cf6cb729c6bc75af32b7fa4238ca743
 WHIRLPOOL 
3eabea7e671ba4383f517b05c47409ec11dabc822e56ec2d909a6bb37f5d56ac7bb94be6b3059edb8ad7bc036d7bebe5061772c4fd0650f1e7c04f4d2ce12cdf

diff --git a/dev-lang/ispc/ispc-1.9.1.ebuild b/dev-lang/ispc/ispc-1.9.1.ebuild
new file mode 100644
index 000..53edbc7
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.9.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit toolchain-funcs python-any-r1
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.com/";
+
+if [[ ${PV} = * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+   >=sys-devel/clang-3.0
+   >=sys-devel/llvm-3.0
+   "
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   sys-devel/bison
+   sys-devel/flex
+   "
+
+src_compile() {
+   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
+}
+
+src_install() {
+   dobin ispc
+   dodoc README.rst
+
+   if use examples; then
+   insinto "/usr/share/doc/${PF}/examples"
+   docompress -x "/usr/share/doc/${PF}/examples"
+   doins -r examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2016-05-30 Thread Christoph Junghans
commit: 5836b4b10b6cb923a437b1c0d432699180d46cb8
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon May 30 20:11:21 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Mon May 30 20:11:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5836b4b1

dev-lang/ispc: fix deps (bug #584570)

Package-Manager: portage-2.2.28

 dev-lang/ispc/{ispc-1.8.2-r3.ebuild => ispc-1.8.2-r4.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ispc/ispc-1.8.2-r3.ebuild 
b/dev-lang/ispc/ispc-1.8.2-r4.ebuild
similarity index 93%
rename from dev-lang/ispc/ispc-1.8.2-r3.ebuild
rename to dev-lang/ispc/ispc-1.8.2-r4.ebuild
index 97bb7a5..6c80346 100644
--- a/dev-lang/ispc/ispc-1.8.2-r3.ebuild
+++ b/dev-lang/ispc/ispc-1.8.2-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,6 +28,8 @@ IUSE="examples"
 RDEPEND="
>=sys-devel/clang-3.7
>=sys-devel/llvm-3.7
+   

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2016-05-30 Thread Christoph Junghans
commit: 81741ade00690b49413776ab9c599befde2280bb
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon May 30 19:36:08 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Mon May 30 20:11:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81741ade

dev-lang/ispc: version bump

Package-Manager: portage-2.2.28

 dev-lang/ispc/Manifest  |  1 +
 dev-lang/ispc/ispc-1.9.0.ebuild | 52 +
 2 files changed, 53 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 8665512..11e4fc0 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1,3 @@
 DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 
8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 
7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054
 WHIRLPOOL 
9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064
 DIST ispc-1.8.2.tar.gz 19259133 SHA256 
d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 
bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a
 WHIRLPOOL 
45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69
+DIST ispc-1.9.0.tar.gz 19271046 SHA256 
b151e50f80754d81302f968c66cc7444c65010c20d1f83382b94c22491bb3971 SHA512 
d886697fd0390017ee0b8c8682834d8b600b10c08eb069eea53eba7cc68788ec5a8e3f50366636add362c5a0508ef38fc0789f6a349d913b972f325830c78c28
 WHIRLPOOL 
63020bc499e16655bed565187d97ca7810aea294ca32ec8bef5344e4fb11ecc109cf6af7018d820ed28674b82c2a50148bb2d598d0d3cee848d990072bedb717

diff --git a/dev-lang/ispc/ispc-1.9.0.ebuild b/dev-lang/ispc/ispc-1.9.0.ebuild
new file mode 100644
index 000..53edbc7
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.9.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit toolchain-funcs python-any-r1
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.com/";
+
+if [[ ${PV} = * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+   >=sys-devel/clang-3.0
+   >=sys-devel/llvm-3.0
+   "
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   sys-devel/bison
+   sys-devel/flex
+   "
+
+src_compile() {
+   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
+}
+
+src_install() {
+   dobin ispc
+   dodoc README.rst
+
+   if use examples; then
+   insinto "/usr/share/doc/${PF}/examples"
+   docompress -x "/usr/share/doc/${PF}/examples"
+   doins -r examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2015-10-20 Thread Christoph Junghans
commit: 67092cd25e67b140a556f8be4389523805bc4bba
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Oct 20 23:26:51 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Oct 20 23:27:11 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67092cd2

dev-lang/ispc: add upstream patch to support llvm-3.7

Details on github ispc/ispc#1106

Gentoo-Bug: #562630

Package-Manager: portage-2.2.20.1

 dev-lang/ispc/Manifest |  1 +
 dev-lang/ispc/ispc-1.8.2-r3.ebuild | 57 ++
 2 files changed, 58 insertions(+)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index dc652ab..8665512 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
+DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 
8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 
7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054
 WHIRLPOOL 
9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064
 DIST ispc-1.8.2.tar.gz 19259133 SHA256 
d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 
bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a
 WHIRLPOOL 
45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69

diff --git a/dev-lang/ispc/ispc-1.8.2-r3.ebuild 
b/dev-lang/ispc/ispc-1.8.2-r3.ebuild
new file mode 100644
index 000..97bb7a5
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.8.2-r3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils toolchain-funcs python-any-r1
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.com/";
+
+if [[ ${PV} = * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   http://dev.gentoo.org/~ottxor/dist/${P}-llvm-3.7.patch.gz";
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+   >=sys-devel/clang-3.7
+   >=sys-devel/llvm-3.7
+   "
+DEPEND="
+   ${RDEPEND}
+   ${PYTHON_DEPS}
+   sys-devel/bison
+   sys-devel/flex
+   "
+
+src_prepare(){
+   epatch "${WORKDIR}/${P}-llvm-3.7.patch"
+}
+
+src_compile() {
+   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
+   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
+}
+
+src_install() {
+   dobin ispc
+   dodoc README.rst
+
+   if use examples; then
+   insinto "/usr/share/doc/${PF}/examples"
+   docompress -x "/usr/share/doc/${PF}/examples"
+   doins -r examples/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2015-10-20 Thread Christoph Junghans
commit: 8f826bcf9ca7c4e586d77738c4b03facc9e5480d
Author: Christoph Junghans  gentoo  org>
AuthorDate: Tue Oct 20 16:00:18 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue Oct 20 16:01:02 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f826bcf

dev-lang/ispc: doesn't build with >=llvm-3.7

Details on github ispc/ispc#1106

Gentoo-Bug: #562630

Package-Manager: portage-2.2.20.1

 dev-lang/ispc/{ispc-1.8.2-r1.ebuild => ispc-1.8.2-r2.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-lang/ispc/ispc-1.8.2-r1.ebuild 
b/dev-lang/ispc/ispc-1.8.2-r2.ebuild
similarity index 96%
rename from dev-lang/ispc/ispc-1.8.2-r1.ebuild
rename to dev-lang/ispc/ispc-1.8.2-r2.ebuild
index 7c0ad7e..235e584 100644
--- a/dev-lang/ispc/ispc-1.8.2-r1.ebuild
+++ b/dev-lang/ispc/ispc-1.8.2-r2.ebuild
@@ -27,6 +27,8 @@ IUSE="examples"
 RDEPEND="
>=sys-devel/clang-3.4
>=sys-devel/llvm-3.4
+   

[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2015-10-07 Thread Christoph Junghans
commit: 1a28b030cf9827db23decff3786623fab031d1f6
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Oct  7 16:00:30 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Oct  7 16:00:30 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a28b030

dev-lang/ispc: doesn't build with <=llvm-3.3

Details on github ispc/ispc#1096

Gentoo-Bug: #560038

Package-Manager: portage-2.2.20.1

 dev-lang/ispc/{ispc-1.8.2.ebuild => ispc-1.8.2-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/ispc/ispc-1.8.2.ebuild 
b/dev-lang/ispc/ispc-1.8.2-r1.ebuild
similarity index 95%
rename from dev-lang/ispc/ispc-1.8.2.ebuild
rename to dev-lang/ispc/ispc-1.8.2-r1.ebuild
index 0d283bb..7c0ad7e 100644
--- a/dev-lang/ispc/ispc-1.8.2.ebuild
+++ b/dev-lang/ispc/ispc-1.8.2-r1.ebuild
@@ -25,8 +25,8 @@ SLOT="0"
 IUSE="examples"
 
 RDEPEND="
-   >=sys-devel/clang-3.0
-   >=sys-devel/llvm-3.0
+   >=sys-devel/clang-3.4
+   >=sys-devel/llvm-3.4
"
 DEPEND="
${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/

2015-10-07 Thread Christoph Junghans
commit: 95e234829c8b4ecc8ac82a8157eb643c718ed0fc
Author: Christoph Junghans  gentoo  org>
AuthorDate: Wed Oct  7 15:56:11 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed Oct  7 15:56:11 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e23482

dev-lang/ispc: remove old

Package-Manager: portage-2.2.20.1

 dev-lang/ispc/Manifest  |  1 -
 dev-lang/ispc/ispc-1.8.1.ebuild | 52 -
 2 files changed, 53 deletions(-)

diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index c2e4eb5..dc652ab 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1,2 +1 @@
-DIST ispc-1.8.1.tar.gz 19222737 SHA256 
adef83008bf9e2eb1947f0fbc38670d8bf801ddb36b1f22c4429a1c394e31f60 SHA512 
515fd08d416f2f9ae8771d1f5922b06c87fbebb552ab4003bf961307c1637eab35c46dcd9c356ce6ec159b441ff001edb4488c3dd6629496960a92bafe75
 WHIRLPOOL 
ace2600866156e11a8cf90bb9e6c73a6cdcd1992d72761d9f3c64b16c6a34055410ac3172d6fb746a2a057704d6531e03f91bdbc7f7f480fa4884cbf91d75c3a
 DIST ispc-1.8.2.tar.gz 19259133 SHA256 
d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 
bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a
 WHIRLPOOL 
45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69

diff --git a/dev-lang/ispc/ispc-1.8.1.ebuild b/dev-lang/ispc/ispc-1.8.1.ebuild
deleted file mode 100644
index 0d283bb..000
--- a/dev-lang/ispc/ispc-1.8.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit toolchain-funcs python-any-r1
-
-DESCRIPTION="Intel SPMD Program Compiler"
-HOMEPAGE="https://ispc.github.com/";
-
-if [[ ${PV} = * ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="git://github.com/ispc/ispc.git"
-   KEYWORDS=""
-else
-   SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="BSD BSD-2 UoI-NCSA"
-SLOT="0"
-IUSE="examples"
-
-RDEPEND="
-   >=sys-devel/clang-3.0
-   >=sys-devel/llvm-3.0
-   "
-DEPEND="
-   ${RDEPEND}
-   ${PYTHON_DEPS}
-   sys-devel/bison
-   sys-devel/flex
-   "
-
-src_compile() {
-   sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") 
verbose
-   emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" 
CPP="$(tc-getCPP)"
-}
-
-src_install() {
-   dobin ispc
-   dodoc README.rst
-
-   if use examples; then
-   insinto "/usr/share/doc/${PF}/examples"
-   docompress -x "/usr/share/doc/${PF}/examples"
-   doins -r examples/*
-   fi
-}