Apply workaround for oneAPI compiler for upcxx problem with a template argument list (#48843)
* Fix upcxx problem with a template argument list is expected after a name prefixed by the template keyword
* Revert "Fix upcxx problem with a template argument list is expected after a name prefixed by the template keyword"
This reverts commit faf9b8ce85
.
* Apply workaround for oneAPI compiler
* style problem resolved
* use spec.satisfies syntax
---------
Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com>
This commit is contained in:
parent
0049f8332d
commit
01d77ed915
@ -194,6 +194,12 @@ def install(self, spec, prefix):
|
||||
if env.get("LDLIBS"):
|
||||
env["LIBS"] = env["LDLIBS"]
|
||||
|
||||
if spec.satisfies("%oneapi@2025:"):
|
||||
env["CXXFLAGS"] = (
|
||||
"-Wno-error=missing-template-arg-list-after-template-kw "
|
||||
"-Wno-missing-template-arg-list-after-template-kw"
|
||||
)
|
||||
|
||||
options = ["--prefix=%s" % prefix]
|
||||
|
||||
if "cross=none" in spec:
|
||||
|
Loading…
Reference in New Issue
Block a user