diff options
author | Michel Zou | 2022-07-11 18:43:30 +0200 |
---|---|---|
committer | Michel Zou | 2022-07-11 18:43:30 +0200 |
commit | e4098fbbc63e68ddc2854c5883a4a675fb093f4c (patch) | |
tree | 4d09a2afa87bd750bc03114f311fa9e28cf9f27e | |
parent | 8380bdf19add322e9277bf76a90d2c56ee42c457 (diff) | |
download | aur-e4098fbbc63e68ddc2854c5883a4a675fb093f4c.tar.gz |
lapack-static
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 2 insertions, 8 deletions
@@ -11,6 +11,7 @@ pkgbase = openmodelica-omc makedepends = git makedepends = boost depends = lapack + depends = lapack-static depends = expat depends = lpsolve depends = java-environment @@ -7,7 +7,7 @@ url="https://openmodelica.org" license=('OSMC-PL') _giturl="https://github.com/OpenModelica/OpenModelica.git" groups=(openmodelica) -depends=('lapack' 'expat' 'lpsolve' 'java-environment') +depends=('lapack' 'lapack-static' 'expat' 'lpsolve' 'java-environment') makedepends=('gcc-fortran' 'cmake' 'git' 'boost') source=("git+${_giturl}#tag=v${pkgver}") sha1sums=('SKIP') @@ -23,17 +23,10 @@ build() { autoreconf -vfi ./configure --prefix=/usr/ make - - # bundle a static version of lapack required to build fmus - curl -fsSL https://github.com/Reference-LAPACK/lapack/archive/v3.10.1.tar.gz | tar xz - cd lapack-3.10.1 && mkdir -p build && cd build - cmake -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF .. - make } package() { cd "$srcdir/OpenModelica/OMCompiler" make install DESTDIR="${pkgdir}" chmod go+rx "${pkgdir}"/usr/share/omc/runtime/c/fmi/buildproject/config.* - install -m644 lapack-3.10.1/build/lib/lib*.a "${pkgdir}"/usr/lib/x86_64-linux-gnu/omc } |