parent
f0088f0174
commit
482bc7273c
13
srcpkgs/ispc/patches/cmake-build-type-none.patch
Normal file
13
srcpkgs/ispc/patches/cmake-build-type-none.patch
Normal 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)
|
@ -1,18 +1,18 @@
|
|||||||
# Template file for 'ispc'
|
# Template file for 'ispc'
|
||||||
pkgname=ispc
|
pkgname=ispc
|
||||||
version=1.18.1
|
version=1.19.0
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64*"
|
archs="x86_64*"
|
||||||
build_style=cmake
|
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"
|
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"
|
short_desc="Compiler for high-performance SIMD programming on the CPU"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://ispc.github.io"
|
homepage="https://ispc.github.io"
|
||||||
distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz"
|
distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz"
|
||||||
checksum=5b004c121e7a39c8654bb61930a240e4bd3e432a80d851c6281fae49f9aca7b7
|
checksum=da1eccb8ead495b22d642340f3bab11fb64dd2223cd9cc92f0492f70b30f34b5
|
||||||
nocross=yes
|
nocross=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
|
||||||
@ -21,10 +21,6 @@ case "$XBPS_TARGET_MACHINE" in
|
|||||||
x86_64) hostmakedepends+=" gcc-multilib";;
|
x86_64) hostmakedepends+=" gcc-multilib";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i '/tinfo/d' CMakeLists.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user