ascent: fix oneapi build (#32239)
This commit is contained in:
parent
cfa4bffe26
commit
1cdc50e3f6
@ -100,6 +100,7 @@ spack:
|
||||
- amrex
|
||||
- arborx
|
||||
- argobots
|
||||
- ascent ^vtk-m ~openmp
|
||||
- axom
|
||||
- bolt
|
||||
- bricks
|
||||
@ -193,7 +194,6 @@ spack:
|
||||
# CPU BUILD FAILURES
|
||||
#- adios2@2.8.0 # adios2
|
||||
#- archer@2.0.0 # binutils
|
||||
#- ascent ^vtk-m ~openmp # ascent
|
||||
#- charliecloud@0.26 # charliecloud
|
||||
#- dyninst@12.1.0 # intel-tbb
|
||||
#- exaworks@0.1.0 # rust, flux-sched
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user