diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -3,31 +3,32 @@ # Contributor: Daichi Shinozaki <dsdseg@gmail.com> pkgname=folly -pkgver=2023.08.14.00 +pkgver=2023.08.28.00 pkgrel=1 pkgdesc="An open-source C++ library developed and used at Facebook" arch=('x86_64') url="https://github.com/facebook/folly" license=('Apache') depends=('snappy' 'jemalloc' 'double-conversion' 'gflags' 'google-glog' 'libevent' 'boost>=1.51.0' - 'boost-libs' 'fmt' 'openssl' 'zlib' 'bzip2' 'xz' 'lz4' 'zstd' 'libsodium' - 'libdwarf' 'libaio' 'liburing' 'libunwind') + 'boost-libs' 'fmt' 'openssl' 'zlib' 'bzip2' 'xz' 'lz4' 'zstd' 'libsodium' + 'libdwarf' 'libaio' 'liburing' 'libunwind') makedepends=('cmake' 'gtest' 'gmock') source=("https://github.com/facebook/$pkgname/archive/v${pkgver}.tar.gz") -sha256sums=('63b0abc6860e91651484937fbb6e90a05dbf48b30133b56846e5e6b9d13c396c') +sha256sums=('6b774054d987e0e34432d6745a10c67db8d43ef4a6d841328ad8eb35144c12c0') +options=('!lto') build() { - cd "$pkgname-$pkgver" - cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -S . -B _build - cmake --build _build + cd "$pkgname-$pkgver" + cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -S . -B _build + cmake --build _build } check() { - cd "$pkgname-$pkgver" - # cmake --build _build --target test + cd "$pkgname-$pkgver" + # cmake --build _build --target test } package() { - cd "$pkgname-$pkgver" - cmake --build _build --target install -- DESTDIR="$pkgdir/" + cd "$pkgname-$pkgver" + cmake --build _build --target install -- DESTDIR="$pkgdir/" } |