[arch-commits] Commit in pahole/repos/extra-x86_64 (4 files)
Jan Steffens
heftig at gemini.archlinux.org
Tue Aug 23 22:20:58 UTC 2022
Date: Tuesday, August 23, 2022 @ 22:20:57
Author: heftig
Revision: 454461
archrelease: copy trunk to extra-x86_64
Added:
pahole/repos/extra-x86_64/PKGBUILD
(from rev 454460, pahole/trunk/PKGBUILD)
pahole/repos/extra-x86_64/python.diff
(from rev 454460, pahole/trunk/python.diff)
Deleted:
pahole/repos/extra-x86_64/PKGBUILD
pahole/repos/extra-x86_64/python.diff
-------------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++----------------------------
python.diff | 26 ++++++-------
2 files changed, 71 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-23 22:20:47 UTC (rev 454460)
+++ PKGBUILD 2022-08-23 22:20:57 UTC (rev 454461)
@@ -1,52 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=pahole
-pkgver=1.23
-pkgrel=1
-pkgdesc="Pahole and other DWARF utils"
-url="https://git.kernel.org/pub/scm/devel/pahole/pahole.git"
-arch=(x86_64)
-license=(GPL2)
-depends=(libelf python)
-makedepends=(git cmake ninja)
-provides=(libdwarves{,_emit,_reorganize}.so)
-_commit=c2b7b8c20877d267159ace36119f6340b9d12823 # tags/v1.23^0
-source=("git+https://git.kernel.org/pub/scm/devel/pahole/pahole.git#commit=$_commit"
- "git+https://github.com/libbpf/libbpf"
- python.diff)
-sha256sums=('SKIP'
- 'SKIP'
- '8f73631f14ca665204bf5be36c5082eb4f89884dda5e5ae2dd66c990b9c11d51')
-
-pkgver() {
- cd pahole
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cd pahole
-
- # https://bugs.archlinux.org/task/70013
- git apply -3 ../python.diff
-
- git submodule init
- git submodule set-url lib/bpf "$srcdir/libbpf"
- git submodule update
-}
-
-build() {
- cmake -S pahole -B build -G Ninja \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -D__LIB=lib
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-
- python -m compileall -d / "$pkgdir"
- python -O -m compileall -d / "$pkgdir"
-}
-
-# vim:set sw=2 et:
Copied: pahole/repos/extra-x86_64/PKGBUILD (from rev 454460, pahole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-23 22:20:57 UTC (rev 454461)
@@ -0,0 +1,58 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=pahole
+pkgver=1.24
+pkgrel=1
+pkgdesc="Pahole and other DWARF utils"
+url="https://git.kernel.org/pub/scm/devel/pahole/pahole.git"
+arch=(x86_64)
+license=(GPL2)
+depends=(libelf python)
+makedepends=(git cmake ninja)
+provides=(libdwarves{,_emit,_reorganize}.so)
+options=(debug)
+_commit=de2423445fa59a6ebbf6f1fba764f30818204348 # tags/v1.24^0
+source=("git+https://git.kernel.org/pub/scm/devel/pahole/pahole.git#commit=$_commit"
+ "git+https://github.com/libbpf/libbpf"
+ python.diff)
+sha256sums=('SKIP'
+ 'SKIP'
+ '12f3d83bda3ec503aca910d0a4372ff8c72886a02aa512b2f37c3f1b21c690c7')
+
+pkgver() {
+ cd pahole
+ git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd pahole
+
+ # https://bugs.archlinux.org/task/70013
+ git apply -3 ../python.diff
+
+ git submodule init
+ git submodule set-url lib/bpf "$srcdir/libbpf"
+ git submodule update
+}
+
+build() {
+ cmake -S pahole -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -D__LIB=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ ctest --output-on-failure --stop-on-failure -j$(nproc)
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ python -m compileall -d / "$pkgdir"
+ python -O -m compileall -d / "$pkgdir"
+}
+
+# vim:set sw=2 et:
Deleted: python.diff
===================================================================
--- python.diff 2022-08-23 22:20:47 UTC (rev 454460)
+++ python.diff 2022-08-23 22:20:57 UTC (rev 454461)
@@ -1,13 +0,0 @@
-diff --git i/CMakeLists.txt w/CMakeLists.txt
-index c0363b8..58ff237 100644
---- i/CMakeLists.txt
-+++ w/CMakeLists.txt
-@@ -188,7 +188,7 @@ install(FILES dwarves.h dwarves_emit.h dwarves_reorganize.h
- install(FILES man-pages/pahole.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1/)
- if(Python3_FOUND)
- install(PROGRAMS ostra/ostra-cg DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
-- install(FILES ostra/python/ostra.py DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dwarves/runtime/python)
-+ install(FILES ostra/python/ostra.py DESTINATION ${Python3_SITELIB})
- endif()
- install(PROGRAMS btfdiff fullcircle DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
- install(FILES lib/Makefile lib/ctracer_relay.c lib/ctracer_relay.h lib/linux.blacklist.cu
Copied: pahole/repos/extra-x86_64/python.diff (from rev 454460, pahole/trunk/python.diff)
===================================================================
--- python.diff (rev 0)
+++ python.diff 2022-08-23 22:20:57 UTC (rev 454461)
@@ -0,0 +1,13 @@
+diff --git i/CMakeLists.txt w/CMakeLists.txt
+index 1cd82ad..91a10f3 100644
+--- i/CMakeLists.txt
++++ w/CMakeLists.txt
+@@ -188,7 +188,7 @@ install(FILES dwarves.h dwarves_emit.h dwarves_reorganize.h
+ install(FILES man-pages/pahole.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1/)
+ if(Python3_FOUND)
+ install(PROGRAMS ostra/ostra-cg DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+- install(FILES ostra/python/ostra.py DESTINATION ${CMAKE_INSTALL_PREFIX}/share/dwarves/runtime/python)
++ install(FILES ostra/python/ostra.py DESTINATION ${Python3_SITELIB})
+ endif()
+ install(PROGRAMS btfdiff fullcircle DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+ install(FILES lib/Makefile lib/ctracer_relay.c lib/ctracer_relay.h lib/linux.blacklist.cu
More information about the arch-commits
mailing list