mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-21 06:25:15 -04:00
Update static binary arch file for release v2025.2
This commit is contained in:
parent
3b7c9040d2
commit
c3a8adfec5
1 changed files with 10 additions and 10 deletions
|
|
@ -2,11 +2,11 @@
|
|||
#
|
||||
# CP2K (GNU) arch file for a serial static x86_64 binary
|
||||
#
|
||||
# Tested with: GNU 14.2.0
|
||||
# Tested with: GNU 14.3.0
|
||||
#
|
||||
# Usage: Source this arch file and then run make as instructed.
|
||||
#
|
||||
# Last update: 12.06.2025
|
||||
# Last update: 23.07.2025
|
||||
#
|
||||
# \
|
||||
if [[ "${0}" == "${BASH_SOURCE}" ]]; then \
|
||||
|
|
@ -187,14 +187,6 @@ ifneq ($(USE_FFTW),)
|
|||
LIBS += $(FFTW_LIB)/libfftw3.a
|
||||
endif
|
||||
|
||||
ifneq ($(USE_OPENBLAS),)
|
||||
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
|
||||
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
|
||||
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
|
||||
CFLAGS += -I$(OPENBLAS_INC)
|
||||
LIBS += $(OPENBLAS_LIB)/libopenblas.a
|
||||
endif
|
||||
|
||||
ifneq ($(USE_TREXIO),)
|
||||
USE_TREXIO := $(strip $(USE_TREXIO))
|
||||
TREXIO_INC := $(INSTALL_PATH)/trexio-$(USE_TREXIO)/include
|
||||
|
|
@ -235,6 +227,14 @@ ifneq ($(USE_HDF5),)
|
|||
LIBS += -lz
|
||||
endif
|
||||
|
||||
ifneq ($(USE_OPENBLAS),)
|
||||
USE_OPENBLAS := $(strip $(USE_OPENBLAS))
|
||||
OPENBLAS_INC := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/include
|
||||
OPENBLAS_LIB := $(INSTALL_PATH)/openblas-$(USE_OPENBLAS)/lib
|
||||
CFLAGS += -I$(OPENBLAS_INC)
|
||||
LIBS += $(OPENBLAS_LIB)/libopenblas.a
|
||||
endif
|
||||
|
||||
CFLAGS += $(DFLAGS) $(CFLAGS_DEBUG)
|
||||
|
||||
CXXFLAGS := $(CFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue