ascent: fix oneapi build (#32239)
This commit is contained in:
parent
cfa4bffe26
commit
1cdc50e3f6
@ -100,6 +100,7 @@ spack:
|
|||||||
- amrex
|
- amrex
|
||||||
- arborx
|
- arborx
|
||||||
- argobots
|
- argobots
|
||||||
|
- ascent ^vtk-m ~openmp
|
||||||
- axom
|
- axom
|
||||||
- bolt
|
- bolt
|
||||||
- bricks
|
- bricks
|
||||||
@ -193,7 +194,6 @@ spack:
|
|||||||
# CPU BUILD FAILURES
|
# CPU BUILD FAILURES
|
||||||
#- adios2@2.8.0 # adios2
|
#- adios2@2.8.0 # adios2
|
||||||
#- archer@2.0.0 # binutils
|
#- archer@2.0.0 # binutils
|
||||||
#- ascent ^vtk-m ~openmp # ascent
|
|
||||||
#- charliecloud@0.26 # charliecloud
|
#- charliecloud@0.26 # charliecloud
|
||||||
#- dyninst@12.1.0 # intel-tbb
|
#- dyninst@12.1.0 # intel-tbb
|
||||||
#- exaworks@0.1.0 # rust, flux-sched
|
#- exaworks@0.1.0 # rust, flux-sched
|
||||||
|
@ -225,6 +225,8 @@ def cmake_args(self):
|
|||||||
host_config = self._get_host_config_path(self.spec)
|
host_config = self._get_host_config_path(self.spec)
|
||||||
options = []
|
options = []
|
||||||
options.extend(["-C", host_config, "../spack-src/src/"])
|
options.extend(["-C", host_config, "../spack-src/src/"])
|
||||||
|
if self.spec.satisfies("%oneapi"):
|
||||||
|
options.extend(["-D", "CMAKE_Fortran_FLAGS=-nofor-main"])
|
||||||
return options
|
return options
|
||||||
|
|
||||||
@run_after("install")
|
@run_after("install")
|
||||||
|
Loading…
Reference in New Issue
Block a user