libxc: new build-block added
This commit is contained in:
32
Compiler/libxc/build
Normal file
32
Compiler/libxc/build
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://gitlab.com/$P/$P/-/archive/${V_PKG}/$P-${V_PKG}.tar.gz"
|
||||
pbuild::add_to_group 'Compiler'
|
||||
pbuild::use_autotools
|
||||
pbuild::install_docfiles 'AUTHORS'
|
||||
pbuild::install_docfiles 'COPYING'
|
||||
pbuild::install_docfiles 'KNOWN_ISSUES'
|
||||
pbuild::install_docfiles 'NEWS'
|
||||
pbuild::install_docfiles 'PACKAGING'
|
||||
pbuild::install_docfiles 'README'
|
||||
pbuild::install_docfiles 'TODO'
|
||||
|
||||
pbuild::post_prep() {
|
||||
libtoolize
|
||||
aclocal
|
||||
autoheader
|
||||
automake --add-missing
|
||||
autoconf
|
||||
}
|
||||
|
||||
pbuild::pre_configure() {
|
||||
local -r cflags="-O2 -fPIC -fp-model precise -funroll-loops -g -traceback -xHost"
|
||||
local -r fcflags="-O2 -fPIC -fp-model precise -fpp -free -funroll-loops -g -traceback -xHost"
|
||||
pbuild::add_configure_args "CC=${CC}"
|
||||
pbuild::add_configure_args "CXX=${CXX}"
|
||||
pbuild::add_configure_args "FC=${FC}"
|
||||
pbuild::add_configure_args "CFLAGS=${cflags}"
|
||||
pbuild::add_configure_args "CXXFLAGS=${cflags}"
|
||||
pbuild::add_configure_args "FCFLAGS=${fcflags}"
|
||||
}
|
||||
|
||||
1
Compiler/libxc/files/variants.rhel6
Normal file
1
Compiler/libxc/files/variants.rhel6
Normal file
@@ -0,0 +1 @@
|
||||
libxc/4.3.4 unstable intel/19.4 b:autoconf/2.69 b:automake/1.16.1 b:libtool/2.4.6-1
|
||||
13
Compiler/libxc/modulefile
Normal file
13
Compiler/libxc/modulefile
Normal file
@@ -0,0 +1,13 @@
|
||||
#%Module1.0
|
||||
|
||||
module-whatis "library of exchange-correlation functionals for density-functional theory"
|
||||
module-url "https://gitlab.com/libxc/libxc"
|
||||
module-license "Mozilla Public License Version 2.0"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
module-help "
|
||||
Libxc is a library of exchange-correlation functionals for
|
||||
density-functional theory. The aim is to provide a portable, well
|
||||
tested and reliable set of exchange and correlation functionals that
|
||||
can be used by a variety of programs.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user