Commit 4f64713b authored by gsell's avatar gsell
Browse files

Merge branch '39-libxc-new-build-block' into 'master'

Resolve "libxc: new build-block"

Closes #39

See merge request Pmodules/buildblocks!50
parents 025cde12 0822d517
#!/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}"
}
libxc/4.3.4 stable intel/19.4 b:autoconf/2.69 b:automake/1.16.1 b:libtool/2.4.6-1
#%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.
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment