mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
sundials, revbump, drop lapack dependency (#13294)
This commit is contained in:
@@ -10,7 +10,7 @@ family with a directory structure that exploits sharing common functionality."
|
||||
HOMEPAGE="https://computation.llnl.gov/projects/sundials"
|
||||
COPYRIGHT="2002-2019, Lawrence Livermore National Security and Southern Methodist University"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/LLNL/sundials/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="30f3deb6a59d840eb9b91fa77e9a4a7c6026ba1bb63fd65e9d57c786d1c8725c"
|
||||
SOURCE_FILENAME="sundials-v$portVersion.tar.gz"
|
||||
@@ -97,7 +97,6 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgfortran$secondaryArchSuffix
|
||||
lib:liblapack$secondaryArchSuffix
|
||||
lib:libopenblas$secondaryArchSuffix
|
||||
"
|
||||
|
||||
@@ -135,7 +134,6 @@ REQUIRES_devel="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgfortran$secondaryArchSuffix
|
||||
devel:liblapack$secondaryArchSuffix
|
||||
devel:libopenblas$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -174,12 +172,11 @@ defineDebugInfoPackage sundials$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
-DEXAMPLES_ENABLED=OFF \
|
||||
-DF77_INTERFACE_ENABLE=ON \
|
||||
-DPTHREAD_ENABLE=ON \
|
||||
-DLAPACK_ENABLE=ON \
|
||||
$cmakeDirArgs
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
$cmakeDirArgs \
|
||||
-DENABLE_PTHREAD=ON \
|
||||
-DENABLE_LAPACK=ON
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user