Skip to content

Commit

Permalink
enable/disable some dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm authored Sep 15, 2024
1 parent f8190d5 commit 5b283d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions var/spack/repos/builtin/packages/feelpp/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ def cmake_args(self):
# Add options based on the variants
args = [
f"--preset={self.get_preset_name()}",

# Enable/Disable optional dependencies
"-DFEELPP_ENABLE_VTK=OFF",
"-DFEELPP_ENABLE_OPENTURNS=OFF",
"-DFEELPP_ENABLE_OMC=OFF",
"-DFEELPP_ENABLE_ANN=OFF",
"-DFEELPP_USE_EXTERNAL_CLN=ON",

# Enable optional dependencies based on variants
self.define_from_variant("FEELPP_ENABLE_QUICKSTART", "quickstart"),
self.define_from_variant("FEELPP_ENABLE_TESTS", "tests"),
self.define_from_variant("FEELPP_ENABLE_TOOLBOXES", "toolboxes"),
Expand Down

0 comments on commit 5b283d4

Please sign in to comment.