Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
41e7e569
Commit
41e7e569
authored
5 years ago
by
Andrey Prokopenko
Committed by
Massimiliano Culpo
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
arborx: update v0.8-beta to v0.8-beta2 (#13143)
- Require Kokkos with c++14 - Update the case of CMake options
parent
ce5333c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/arborx/package.py
+9
-8
9 additions, 8 deletions
var/spack/repos/builtin/packages/arborx/package.py
with
9 additions
and
8 deletions
var/spack/repos/builtin/packages/arborx/package.py
+
9
−
8
View file @
41e7e569
...
...
@@ -10,11 +10,11 @@ class Arborx(CMakePackage):
"""
ArborX is a performance-portable library for geometric search
"""
homepage
=
"
http://github.com/arborx/arborx
"
url
=
"
https://github.com/arborx/arborx/archive/v0.8-beta.tar.gz
"
url
=
"
https://github.com/arborx/arborx/archive/v0.8-beta
2
.tar.gz
"
git
=
"
https://github.com/arborx/arborx.git
"
version
(
'
master
'
,
branch
=
'
master
'
)
version
(
'
0.8-beta
'
,
sha256
=
'
d90254656df089b1321bf26d55f69d0db465fff12a972c446562ceaca5f090ad
'
)
version
(
'
0.8-beta
2
'
,
sha256
=
'
e68733bc77fbb84313f3ff059f746fa79ab2ffe24a0a391126eefa47ec4fd2df
'
)
variant
(
'
cuda
'
,
default
=
False
,
description
=
'
enable Cuda backend
'
)
variant
(
'
openmp
'
,
default
=
False
,
description
=
'
enable OpenMP backend
'
)
...
...
@@ -28,18 +28,19 @@ class Arborx(CMakePackage):
# ArborX relies on Kokkos to provide devices, thus having one-to-one match
# The only way to disable those devices is to make sure Kokkos does not
# provide them
depends_on
(
'
kokkos@2.7.00:+cuda+enable_lambda
'
,
when
=
'
+cuda
'
)
depends_on
(
'
kokkos@2.7.00:+openmp
'
,
when
=
'
+openmp
'
)
depends_on
(
'
kokkos@2.7.00:+serial
'
,
when
=
'
+serial
'
)
depends_on
(
'
kokkos@2.7.00:+cuda+enable_lambda
cxxstd=c++14
'
,
when
=
'
+cuda
'
)
depends_on
(
'
kokkos@2.7.00:+openmp
cxxstd=c++14
'
,
when
=
'
+openmp
'
)
depends_on
(
'
kokkos@2.7.00:+serial
cxxstd=c++14
'
,
when
=
'
+serial
'
)
def
cmake_args
(
self
):
spec
=
self
.
spec
options
=
[
'
-DCMAKE_PREFIX_PATH=%s
'
%
spec
[
'
kokkos
'
].
prefix
,
'
-DArborX_ENABLE_TESTS=OFF
'
,
'
-DArborX_ENABLE_EXAMPLES=OFF
'
,
'
-DArborX_ENABLE_MPI=%s
'
%
(
'
ON
'
if
'
+mpi
'
in
spec
else
'
OFF
'
)
'
-DARBORX_ENABLE_TESTS=OFF
'
,
'
-DARBORX_ENABLE_EXAMPLES=OFF
'
,
'
-DARBORX_ENABLE_BENCHMARKS=OFF
'
,
'
-DARBORX_ENABLE_MPI=%s
'
%
(
'
ON
'
if
'
+mpi
'
in
spec
else
'
OFF
'
)
]
if
'
+cuda
'
in
spec
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment