unifyfs %oneapi: add CFLAGS=-Wno-unused-function to build environment (#32107)
This commit is contained in:
parent
c12446d0ea
commit
43c0dac6f6
@ -177,6 +177,7 @@ spack:
|
|||||||
- turbine
|
- turbine
|
||||||
- umap
|
- umap
|
||||||
- umpire
|
- umpire
|
||||||
|
- unifyfs
|
||||||
- upcxx
|
- upcxx
|
||||||
- veloc
|
- veloc
|
||||||
- vtk-m ~openmp # can't build +openmp w/ %oneapi: https://github.com/spack/spack/issues/31830
|
- vtk-m ~openmp # can't build +openmp w/ %oneapi: https://github.com/spack/spack/issues/31830
|
||||||
@ -210,7 +211,6 @@ spack:
|
|||||||
#- py-warpx@22.05 ^warpx dims=2 # adios2
|
#- py-warpx@22.05 ^warpx dims=2 # adios2
|
||||||
#- py-warpx@22.05 ^warpx dims=3 # adios2
|
#- py-warpx@22.05 ^warpx dims=3 # adios2
|
||||||
#- py-warpx@22.05 ^warpx dims=rz # adios2
|
#- py-warpx@22.05 ^warpx dims=rz # adios2
|
||||||
#- unifyfs@0.9.2 # unifyfs
|
|
||||||
#- variorum@0.4.1 # variorum
|
#- variorum@0.4.1 # variorum
|
||||||
|
|
||||||
# CPU BUILD FAILURES - NOTES
|
# CPU BUILD FAILURES - NOTES
|
||||||
@ -229,7 +229,6 @@ spack:
|
|||||||
# ruby: limits.c:415:34: error: invalid suffix 'D' on floating constant
|
# ruby: limits.c:415:34: error: invalid suffix 'D' on floating constant
|
||||||
# rust: /usr/bin/ld: /opt/intel/oneapi/compiler/2022.1.0/linux/bin-llvm/../compiler/lib/intel64_lin/libimf.a(libm_feature_flag.o): in function `__libm_feature_flag_init': libm_feature_flag.c:(.text+0x25): undefined reference to `__intel_cpu_feature_indicator_x'
|
# rust: /usr/bin/ld: /opt/intel/oneapi/compiler/2022.1.0/linux/bin-llvm/../compiler/lib/intel64_lin/libimf.a(libm_feature_flag.o): in function `__libm_feature_flag_init': libm_feature_flag.c:(.text+0x25): undefined reference to `__intel_cpu_feature_indicator_x'
|
||||||
# scr: scr_globals.h:81:10: fatal error: 'spath_mpi.h' file not found: #include "spath_mpi.h"
|
# scr: scr_globals.h:81:10: fatal error: 'spath_mpi.h' file not found: #include "spath_mpi.h"
|
||||||
# unifyfs: client/src/unifyfs.c:1502:7: error: unused function 'next_page_align' [-Werror,-Wunused-function]
|
|
||||||
# variorum: ld: Intel/CMakeFiles/variorum_intel.dir/msr_core.c.o:(.bss+0x0): multiple definition of `g_platform'; CMakeFiles/variorum.dir/config_architecture.c.o:(.bss+0x0): first defined here
|
# variorum: ld: Intel/CMakeFiles/variorum_intel.dir/msr_core.c.o:(.bss+0x0): multiple definition of `g_platform'; CMakeFiles/variorum.dir/config_architecture.c.o:(.bss+0x0): first defined here
|
||||||
# vtk-m: clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
|
# vtk-m: clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
|
||||||
|
|
||||||
|
@ -84,6 +84,8 @@ def setup_build_environment(self, env):
|
|||||||
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98266
|
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98266
|
||||||
if "%gcc@11" in self.spec:
|
if "%gcc@11" in self.spec:
|
||||||
env.append_flags("CFLAGS", "-Wno-array-bounds")
|
env.append_flags("CFLAGS", "-Wno-array-bounds")
|
||||||
|
if self.spec.satisfies("%oneapi"):
|
||||||
|
env.append_flags("CFLAGS", "-Wno-unused-function")
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
Loading…
Reference in New Issue
Block a user