diff options
Diffstat (limited to 'libraries/trilinos/trilinos.SlackBuild')
-rw-r--r-- | libraries/trilinos/trilinos.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/trilinos/trilinos.SlackBuild b/libraries/trilinos/trilinos.SlackBuild index 81808a8b3176a..650da5beb6f82 100644 --- a/libraries/trilinos/trilinos.SlackBuild +++ b/libraries/trilinos/trilinos.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=trilinos -VERSION=${VERSION:-11.10.2} +VERSION=${VERSION:-12.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/trilinos-12.4.2_lapack-3.6.0.patch # Use CUDA SDK and CUSPARSE. if [ "${CUDA:-no}" == "yes" ]; then @@ -173,6 +174,10 @@ fi -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=RELEASE .. + for f in $(grep -r -l /usr//usr/lib .); do + sed -i -e 's:/usr//usr/lib:/usr/lib:g' $f + done + make ctest make install DESTDIR=$PKG |