Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
LLVM14 rebuild
Browse files Browse the repository at this point in the history
bpftrace does not support LLVM14 yet [1] so we switch to LLVM13 instead

[1] bpftrace/bpftrace#2228

git-svn-id: file:///srv/repos/svn-community/svn@1239028 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
anatolik authored and svntogit committed Jun 22, 2022
1 parent ed196c2 commit 0e4417d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

pkgname=bpftrace
pkgver=0.15.0
pkgrel=1
pkgrel=2
pkgdesc='High-level tracing language for Linux eBPF'
arch=('x86_64')
url='https://github.com/iovisor/bpftrace'
license=('Apache')
depends=('libelf' 'zlib' 'llvm-libs' 'clang' 'bcc' 'libbpf')
makedepends=('cmake' 'llvm' 'git' 'linux-headers' 'ninja' 'gtest' 'cereal'
depends=('libelf' 'zlib' 'llvm13-libs' 'clang13' 'bcc' 'libbpf')
makedepends=('cmake' 'llvm13' 'git' 'linux-headers' 'ninja' 'gtest' 'cereal'
'asciidoctor' 'xxd')
options=(!strip)
source=("https://github.com/iovisor/bpftrace/archive/v$pkgver/bpftrace-$pkgver.tar.gz")
Expand All @@ -18,7 +18,7 @@ sha512sums=('916e9afeab301e62472e570ef77a3b9b27b43251880b64f1c5f151583c59a6c61e9
build() {
cd bpftrace-$pkgver

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -G Ninja -B build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_DIR=/usr/lib/llvm13/lib/cmake/llvm/ -G Ninja -B build
ninja -C build
}

Expand Down

0 comments on commit 0e4417d

Please sign in to comment.