yafyaml: Add fismahigh variant to comply with FISMA standards (#36471)
This commit is contained in:
parent
5c3bc36fde
commit
b9bde03df5
@ -3,6 +3,8 @@
|
|||||||
#
|
#
|
||||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
from spack.package import *
|
from spack.package import *
|
||||||
|
|
||||||
|
|
||||||
@ -52,3 +54,9 @@ class Yafyaml(CMakePackage):
|
|||||||
description="The build type to build",
|
description="The build type to build",
|
||||||
values=("Debug", "Release"),
|
values=("Debug", "Release"),
|
||||||
)
|
)
|
||||||
|
variant("fismahigh", default=False, description="Apply patching for FISMA-high compliance")
|
||||||
|
|
||||||
|
@when("+fismahigh")
|
||||||
|
def patch(self):
|
||||||
|
if os.path.exists("tools/ci-install-gfe.bash"):
|
||||||
|
os.remove("tools/ci-install-gfe.bash")
|
||||||
|
Loading…
Reference in New Issue
Block a user