diff options
author | jon noble | 2019-10-17 21:41:29 +0100 |
---|---|---|
committer | jon noble | 2019-10-17 21:41:29 +0100 |
commit | 1ba646920e40911b058ac3009ead0c92390e7a4f (patch) | |
tree | efd24aac548e2266350556c6d73fc2255f39c16a | |
parent | a0e89c62685b055d9a6be1ee8ed0356e913b9262 (diff) | |
download | aur-1ba646920e40911b058ac3009ead0c92390e7a4f.tar.gz |
Limit load and cores
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,7 +15,7 @@ replaces=() backup=() options=() install= -source=('git+https://github.com/halide/Halide.git') #https://github.com/halide/Halide.git +source=('git+https://github.com/halide/Halide.git') noextract=() md5sums=('SKIP') @@ -34,12 +34,13 @@ build() { cd "$srcdir/Halide/build" cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=False -DWITH_DOCS=False -DWITH_TUTORIALS=False \ -DWARNINGS_AS_ERRORS=False -DWITH_APPS=False -DBUILD_AOT_TUTORIAL=False -DWITH_UTILS=False .. - CC="clang" CXX="clang++" make -j + CORES=$(cat /proc/cpuinfo | grep -c "vendor_id") + make clean + make -j${CORES} -l${CORES} } check() { cd "$srcdir/Halide/build" - #make -k check } package() { |