diff --git a/srcpkgs/ispc/patches/cmake-build-type-none.patch b/srcpkgs/ispc/patches/cmake-build-type-none.patch new file mode 100644 index 00000000000..a962619d933 --- /dev/null +++ b/srcpkgs/ispc/patches/cmake-build-type-none.patch @@ -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) diff --git a/srcpkgs/ispc/template b/srcpkgs/ispc/template index 2b06217d0aa..574a75bab7e 100644 --- a/srcpkgs/ispc/template +++ b/srcpkgs/ispc/template @@ -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 " 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 }