Skip to content

Commit

Permalink
Capture output after adjusting compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Dec 3, 2024
1 parent aedd7f3 commit 000cd0c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/cp2k/Linux-x86-64-intelx.arch
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ ifeq (,$(filter-out 0,$(GNU)))
endif

MAKE_VERSION_OUT := $(shell $(MAKE) --version 2>/dev/null | head -n1)
CXX_VERSION_OUT := $(shell $(CXX) --version 2>/dev/null | head -n1)
CC_VERSION_OUT := $(shell $(CC) --version 2>/dev/null | head -n1)
FC_VERSION_OUT := $(shell $(FC) --version 2>/dev/null | head -n1)

# check if the Intel Development Tools are available
INTEL ?= $(strip $(if $(filter icc% icx% Intel%, \
Expand Down Expand Up @@ -321,6 +319,10 @@ endif
# Diagnostic message to be turned off
DIAG_DISABLE := 8290,8291,10010,10212,10411,10448,11060

CXX_VERSION_OUT := $(shell $(CXX) --version 2>/dev/null | head -n1)
CC_VERSION_OUT := $(shell $(CC) --version 2>/dev/null | head -n1)
FC_VERSION_OUT := $(shell $(FC) --version 2>/dev/null | head -n1)

REVERSION0 := [0-9][0-9]*\.[0-9][0-9]*\.*[0-9]*
REVERSION1 := s/..* \($(REVERSION0)\)[ \S]*.*/\1/
REVERSION2 := s/..* \([0-9]\{5\}[0-9]*\)[ \S]*.*/\1/
Expand Down

0 comments on commit 000cd0c

Please sign in to comment.