PLUMED: Using a C compiler variable (#46082)

* Using a C compiler variable

* homogeneity
This commit is contained in:
etiennemlb 2024-09-05 18:43:28 +02:00 committed by GitHub
parent c4d18671fe
commit 055eb3cd94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,8 +261,8 @@ def filter_gslcblas(self):
def patch(self): def patch(self):
# Ensure Spack's wrappers are used to compile the Python interface # Ensure Spack's wrappers are used to compile the Python interface
env = ( env = (
'CXX={0} LDSHARED="{0} -pthread -shared" ' 'CC="{0}" LDSHARED="{0} -pthread -shared" '
'LDCXXSHARED="{0} -pthread -shared"'.format(spack_cxx) 'CXX="{1}" LDCXXSHARED="{1} -pthread -shared"'.format(spack_cc, spack_cxx)
) )
filter_file( filter_file(
"plumed_program_name=plumed", "plumed_program_name=plumed",