Merge pull request #2088 from ajmay81/libcint

add package libcint
This commit is contained in:
mabrand 2018-11-14 23:04:15 +01:00 committed by GitHub
commit e0283b888b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
src/libcint.mk Normal file
View File

@ -0,0 +1,17 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libcint
$(PKG)_WEBSITE := https://github.com/sunqm/libcint
$(PKG)_DESCR := General GTO integrals for quantum chemistry
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.0.6
$(PKG)_CHECKSUM := a7d6d46de9be044409270b27727a1d620d21b5fda6aa7291548938e1ced25404
$(PKG)_GH_CONF := sunqm/libcint/tags,v
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := cc blas
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
-DBLAS_LIBRARIES="-lblas -lgfortran -lquadmath"
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef