diff options
author | Tom Payerle <payerle@umd.edu> | 2023-08-29 16:57:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 13:57:02 -0700 |
commit | 44922f734d5694260e0e1a456daf1d7fe9d8d2a8 (patch) | |
tree | 1e1a5d8d6a13452eb44aca1ab5c77cecb83902b6 | |
parent | 144e657c583d2d521c9d0fa595df3442f14b3301 (diff) | |
download | spack-44922f734d5694260e0e1a456daf1d7fe9d8d2a8.tar.gz spack-44922f734d5694260e0e1a456daf1d7fe9d8d2a8.tar.bz2 spack-44922f734d5694260e0e1a456daf1d7fe9d8d2a8.tar.xz spack-44922f734d5694260e0e1a456daf1d7fe9d8d2a8.zip |
boxlib: Add BL_USE_PARTICLES cmake var (#39660)
Set BL_USE_PARTICLES to 1, which should case boxlib build to include Particles classes
according to CMakeLists.txt.
This seems to fix #18172
The aforementioned error seems to occur in cmake phase while processing
CMakeLists.txt in Src/C_ParticleLib, and appears to be due to the
variable containing the list of src files for the add_library() call
being empty unless BL_USE_PARTICLES is set to 1.
-rw-r--r-- | var/spack/repos/builtin/packages/boxlib/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/boxlib/package.py b/var/spack/repos/builtin/packages/boxlib/package.py index 6f36545ed2..aa82407333 100644 --- a/var/spack/repos/builtin/packages/boxlib/package.py +++ b/var/spack/repos/builtin/packages/boxlib/package.py @@ -32,6 +32,7 @@ class Boxlib(CMakePackage): options.extend( [ "-DBL_SPACEDIM=%d" % int(spec.variants["dims"].value), + "-DBL_USE_PARTICLES=1", "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON", "-DENABLE_FBASELIB=ON", "-DCMAKE_C_COMPILER=%s" % spec["mpi"].mpicc, |