aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ispc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ispc')
-rw-r--r--testing/ispc/0001-tinfo.patch25
-rw-r--r--testing/ispc/APKBUILD56
2 files changed, 0 insertions, 81 deletions
diff --git a/testing/ispc/0001-tinfo.patch b/testing/ispc/0001-tinfo.patch
deleted file mode 100644
index 49b50a70ea..0000000000
--- a/testing/ispc/0001-tinfo.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 24e932ce16d99d384be19d43626bca03a1f21459 Mon Sep 17 00:00:00 2001
-From: Leon Marz <main@lmarz.org>
-Date: Thu, 1 Jul 2021 15:34:07 +0200
-Subject: [PATCH] tinfo
-
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ef88317..e733978 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -525,7 +525,7 @@ else()
- else()
- find_package(Curses REQUIRED)
- find_package(ZLIB REQUIRED)
-- find_library(NCURSES_TINFO_LIBRARY tinfo)
-+ find_library(NCURSES_TINFO_LIBRARY ncursesw)
- target_link_libraries(${PROJECT_NAME} pthread ${ZLIB_LIBRARIES} ${NCURSES_TINFO_LIBRARY} ${CURSES_LIBRARIES})
- endif()
- endif()
---
-2.32.0
-
diff --git a/testing/ispc/APKBUILD b/testing/ispc/APKBUILD
deleted file mode 100644
index 76c50f7ae0..0000000000
--- a/testing/ispc/APKBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# Contributor: Leon Marz <main@lmarz.org>
-# Maintainer: Leon Marz <main@lmarz.org>
-pkgname=ispc
-pkgver=1.16.1
-pkgrel=1
-pkgdesc="Intel SPMD Program Compiler"
-url="https://ispc.github.io"
-arch="x86_64 armv7 aarch64" # ispc only supports these arches
-license="BSD-3-Clause"
-_llvmver=llvm12
-makedepends="cmake
- bison
- clang-dev
- clang-static
- flex
- $_llvmver-dev
- $_llvmver-static
- $_llvmver-test-utils
- m4
- ncurses-dev
- zlib-dev"
-# subpackages="$pkgname-dev $pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/ispc/ispc/archive/v$pkgver.tar.gz
- 0001-tinfo.patch
- "
-options="!check" # ctest does not find a testsuite
-
-build() {
- _x86_enabled=OFF
- _arm_enabled=OFF
- case "$CARCH" in
- x86_64) _x86_enabled=ON ;;
- armv7|aarch64) _arm_enabled=ON ;;
- esac
-
- cmake -B build \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=True \
- -DCLANG_EXECUTABLE="$(command -v clang)" \
- -DCLANGPP_EXECUTABLE="$(command -v clang++)" \
- -DX86_ENABLED=$_x86_enabled \
- -DARM_ENABLED=$_arm_enabled \
- -DISPC_INCLUDE_EXAMPLES=OFF \
- -DISPC_NO_DUMPS=ON
-
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
-
-sha512sums="
-89b844a15a888ae7074c4baa47f46d1d7176501f215c9a8c3b4bf9ad1960dc77d53f1f448d5253ad0c6a91e5088af243c3dfd148e619f9abeb6a16f715e3b463 ispc-1.16.1.tar.gz
-f22261c96b778228ff63db4273ec25e2081f870a01a56765ec64ebc5b72909c5be527bb065503afbdd24821df8776bcf9a9147f6d1bdaec3776339685097614d 0001-tinfo.patch
-"