Modify info print of ESMF_CPP due to permission denied errors in spack on MSU Hercules (#35969)
* Skip info print of ESMF_CPP due to permission denied errors in spack on MSU Hercules * Better version of patch
This commit is contained in:
parent
ba00da61e4
commit
4572052c63
2 changed files with 15 additions and 0 deletions
11
var/spack/repos/builtin/packages/esmf/esmf_cpp_info.patch
Normal file
11
var/spack/repos/builtin/packages/esmf/esmf_cpp_info.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/makefile 2023-03-08 22:04:26.000000000 -0600
|
||||
+++ b/makefile 2023-03-08 22:05:14.000000000 -0600
|
||||
@@ -97,7 +97,7 @@
|
||||
-@echo "C Compiler version:"; $(ESMF_CCOMPILER_VERSION); echo ""
|
||||
-@echo "--------------------------------------------------------------"
|
||||
-@echo "Preprocessor version:"
|
||||
- @$(ESMF_CPP) --version $(ESMF_DIR)/scripts/empty.C
|
||||
+ -@echo `$(ESMF_CPP) --version $(ESMF_DIR)/scripts/empty.C`
|
||||
ifeq ($(pathtype),abs)
|
||||
-@echo "--------------------------------------------------------------"
|
||||
-@echo "NetCDF library version: `$(ESMF_NETCDF) --version`"
|
|
@ -102,6 +102,10 @@ class Esmf(MakefilePackage):
|
|||
# https://trac.macports.org/ticket/57493
|
||||
patch("cstddef.patch", when="@7.1.0r %gcc@8:")
|
||||
|
||||
# Skip info print of ESMF_CPP due to permission denied errors
|
||||
# https://github.com/spack/spack/issues/35957
|
||||
patch("esmf_cpp_info.patch")
|
||||
|
||||
# Make script from mvapich2.patch executable
|
||||
@when("@:7.0")
|
||||
@run_before("build")
|
||||
|
|
Loading…
Reference in a new issue