ispc: update to 1.19.0

Closes: #40821 [via git-merge-pr]
This commit is contained in:
Marcin Puc 2023-03-01 14:59:55 +01:00 committed by Leah Neukirchen
parent f0088f0174
commit 482bc7273c
2 changed files with 17 additions and 8 deletions

View File

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c694166..405dc90 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -199,7 +199,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;None")
string(FIND "${CONFIGURATION_TYPES}" "${CMAKE_BUILD_TYPE}" MATCHED_CONFIG)
if (${MATCHED_CONFIG} EQUAL -1)

View File

@ -1,18 +1,18 @@
# Template file for 'ispc'
pkgname=ispc
version=1.18.1
version=1.19.0
revision=1
archs="x86_64*"
build_style=cmake
configure_args="-DISPC_NO_DUMPS=ON -DARM_ENABLED=OFF -DCMAKE_BUILD_TYPE=Release"
configure_args="-DARM_ENABLED=OFF -DISPC_INCLUDE_EXAMPLES=OFF -DISPC_INCLUDE_RT=OFF"
hostmakedepends="clang clang-tools-extra python3 m4 bison flex llvm"
makedepends="ncurses-devel ncurses-libtinfo-devel zlib-devel libomp-devel"
makedepends="ncurses-devel ncurses-libtinfo-devel zlib-devel"
short_desc="Compiler for high-performance SIMD programming on the CPU"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD-3-Clause"
homepage="https://ispc.github.io"
distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz"
checksum=5b004c121e7a39c8654bb61930a240e4bd3e432a80d851c6281fae49f9aca7b7
checksum=da1eccb8ead495b22d642340f3bab11fb64dd2223cd9cc92f0492f70b30f34b5
nocross=yes
nopie=yes
@ -21,10 +21,6 @@ case "$XBPS_TARGET_MACHINE" in
x86_64) hostmakedepends+=" gcc-multilib";;
esac
pre_build() {
sed -i '/tinfo/d' CMakeLists.txt
}
post_install() {
vlicense LICENSE.txt
}