su2
This commit is contained in:
parent
5e45cc8cdc
commit
675bd69b68
|
@ -0,0 +1,25 @@
|
|||
# Tanım: Open-source collection of software tools written in C++ for performing Partial Differential Equation (PDE) analysis and solving PDE-constrained optimization problems
|
||||
# URL: http://su2.stanford.edu/index.html
|
||||
# Paketçi: milisarge
|
||||
# Gerekler: git python3 openmpi
|
||||
# Grup: sistem
|
||||
|
||||
isim=su2
|
||||
surum=6.1.0
|
||||
devir=1
|
||||
kaynak=(https://github.com/su2code/SU2/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
|
||||
|
||||
derle() {
|
||||
cd "${SRC}/SU2-$surum"
|
||||
|
||||
#autoreconf -i
|
||||
install -d $PKG/usr/share/openmpi
|
||||
cp /usr/share/openmpi/mpicxx-wrapper-data.txt $PKG/usr/share/openmpi/mpicxx-wrapper-data.txt
|
||||
cp /usr/share/openmpi/mpicc-wrapper-data.txt $PKG/usr/share/openmpi/mpicc-wrapper-data.txt
|
||||
echo "export PATH=\${PATH}:/opt/${isim}/bin" > "${SRC}/su2_env.sh"
|
||||
./configure --prefix="/opt/${isim}" --enable-mpi --with-cxx=/usr/bin/mpicxx --with-cc=/usr/bin/mpicc CXXFLAGS="-O3"
|
||||
make
|
||||
make prefix="${PKG}/opt/${isim}" install
|
||||
install -D -m755 "${SRC}/su2_env.sh" "${PKG}/etc/profile.d/su2_env.sh"
|
||||
rm -rf $PKG/usr
|
||||
}
|
Loading…
Reference in New Issue