Skip to content

Commit

Permalink
ispc: update to 1.19.0
Browse files Browse the repository at this point in the history
Closes: #40821 [via git-merge-pr]
  • Loading branch information
tranzystorekk authored and leahneukirchen committed Mar 31, 2023
1 parent f0088f0 commit 482bc72
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
13 changes: 13 additions & 0 deletions srcpkgs/ispc/patches/cmake-build-type-none.patch
Original file line number Diff line number Diff line change
@@ -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)
12 changes: 4 additions & 8 deletions srcpkgs/ispc/template
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
}

0 comments on commit 482bc72

Please sign in to comment.