diff options
author | David Wells | 2022-02-28 18:44:39 -0500 |
---|---|---|
committer | David Wells | 2022-02-28 18:44:39 -0500 |
commit | 1b716491813ca0e0c0b86aef7bb52f5c33f6177b (patch) | |
tree | 03022a8625c36fc9afb7f4c07e7cd62be0ed95b2 | |
parent | 658826e6dea6bdd60e7319e3dd235e5d6ab7f801 (diff) | |
download | aur-1b716491813ca0e0c0b86aef7bb52f5c33f6177b.tar.gz |
Fix a quick test that wasn't ported to oneAPI
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = deal-ii pkgdesc = An Open Source Finite Element Differential Equations Analysis Library pkgver = 9.3.3 - pkgrel = 1 + pkgrel = 2 url = http://www.dealii.org/ install = deal-ii.install arch = i686 @@ -4,7 +4,7 @@ pkgname=deal-ii _realname=dealii pkgver=9.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="An Open Source Finite Element Differential Equations Analysis Library" arch=("i686" "x86_64") url="http://www.dealii.org/" @@ -112,6 +112,13 @@ build() { sed -i '122ifedisableexcept(FE_INVALID);\n' \ ${srcdir}/${_realname}-$pkgver/tests/quick_tests/scalapack.cc + # Fix a test to work with TBB's oneAPI: + sed -i '/include .tbb.task_scheduler.init.h./d' \ + ${srcdir}/${_realname}-$pkgver/tests/quick_tests/tbb.cc + + sed -i 's/tbb::task_scheduler_init::default_num_threads/MultithreadInfo::n_threads/' \ + ${srcdir}/${_realname}-$pkgver/tests/quick_tests/tbb.cc + # Also remove from LDFLAGS if necessary LDFLAGS=$(echo $LDFLAGS | sed 's/--as-needed,//') |