Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / 
openmp


Commits:
6dbca400 by Evangelos Foutras at 2025-01-05T13:56:50+02:00
upgpkg: 19.1.6-2: compile Python modules

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = openmp
        pkgdesc = LLVM OpenMP Runtime Library
        pkgver = 19.1.6
-       pkgrel = 1
+       pkgrel = 2
        url = https://openmp.llvm.org/
        arch = x86_64
        license = Apache-2.0 WITH LLVM-exception


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=openmp
 pkgver=19.1.6
-pkgrel=1
+pkgrel=2
 pkgdesc="LLVM OpenMP Runtime Library"
 arch=('x86_64')
 url="https://openmp.llvm.org/";
@@ -46,8 +46,12 @@ package() {
 
   DESTDIR="$pkgdir" ninja install
   install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
   rm "$pkgdir/usr/lib/libarcher_static.a"
+
+  # Compile Python scripts
+  python -m compileall -d /usr/share "$pkgdir/usr/share"
+  python -O -m compileall -d /usr/share "$pkgdir/usr/share"
+  python -OO -m compileall -d /usr/share "$pkgdir/usr/share"
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openmp/-/commit/6dbca4009a998091b988ae2566dbfebc24069f1a

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/openmp/-/commit/6dbca4009a998091b988ae2566dbfebc24069f1a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to