Date: Friday, April 14, 2023 @ 10:17:47
  Author: dvzrv
Revision: 1446017

upgpkg: ispc 1.19.0-2: Rebuild to add back static lib.

The libispcrt_static.a static lib is required by ospray during build time.

Modified:
  ispc/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-14 09:59:56 UTC (rev 1446016)
+++ PKGBUILD    2023-04-14 10:17:47 UTC (rev 1446017)
@@ -4,7 +4,7 @@
 pkgname=ispc
 _commit=41549e2786f056c69a5a9d09f44ccc958bba2660  # refs/tags/v1.19.0
 pkgver=1.19.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Compiler for high-performance SIMD programming on the CPU"
 arch=(x86_64)
 url="https://ispc.github.io/";
@@ -17,7 +17,8 @@
     'level-zero-loader: GPU support'
     'openmp: GPU support'
 )
-options=(!staticlibs)
+# NOTE: libispcrt_static.a is required by ospray during build time
+options=(staticlibs)
 source=(
   git+https://github.com/$pkgname/$pkgname#tag=$_commit
   $pkgname-benchmark::git+https://github.com/google/benchmark.git
@@ -70,5 +71,4 @@
   install -Dm644 $pkgname/LICENSE.txt -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
   # Remove uneeded files: https://github.com/ispc/ispc/issues/2482
   rm -rv "${pkgdir}"/build
-  rm -v "${pkgdir}"/usr/lib/libispcrt_static.a
 }

Reply via email to