ascent: fix oneapi build (#32239)
This commit is contained in:
@@ -225,6 +225,8 @@ def cmake_args(self):
|
||||
host_config = self._get_host_config_path(self.spec)
|
||||
options = []
|
||||
options.extend(["-C", host_config, "../spack-src/src/"])
|
||||
if self.spec.satisfies("%oneapi"):
|
||||
options.extend(["-D", "CMAKE_Fortran_FLAGS=-nofor-main"])
|
||||
return options
|
||||
|
||||
@run_after("install")
|
||||
|
Reference in New Issue
Block a user