Skip to content

Commit 17b606b

Browse files
committed
Update alpaka to 2.0.0 "Concepts Ahead"
This version introduces C++20 compatibility and removes the dependency on Boost. See https://github.com/alpaka-group/alpaka/releases/tag/2.0.0 for the release notes, and https://github.com/alpaka-group/alpaka/pulls?q=milestone%3A2.0.0 for the full list of changes in the 2.0.0 release.
1 parent 4fe876e commit 17b606b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

alpaka.spec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
### RPM external alpaka 1.3.0
1+
### RPM external alpaka 2.0.0
22
## NOCOMPILER
33

44
%define git_commit %{realversion}
55

66
Source: https://github.com/cms-externals/%{n}/archive/%{git_commit}.tar.gz
7-
Requires: boost
87

98
%prep
109
%setup -n %{n}-%{git_commit}

scram-tools.file/tools/alpaka/alpaka.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<tool name="@TOOL@" version="@TOOL_VERSION@" revision="2">
2-
<use name="boost"/>
32
<client>
43
<environment name="@TOOL_BASE@" default="@TOOL_ROOT@"/>
54
<environment name="INCLUDE" default="$@TOOL_BASE@/include"/>
@@ -13,4 +12,8 @@
1312
<flags CXXFLAGS="-DALPAKA_DISABLE_VENDOR_RNG"/>
1413
<flags CUDA_FLAGS="-DALPAKA_DISABLE_VENDOR_RNG"/>
1514
<flags GENREFLEX_CPPFLAGS="-DALPAKA_DISABLE_VENDOR_RNG"/>
15+
<!-- enable the use of std::atomic_ref -->
16+
<flags CXXFLAGS="-DALPAKA_HAS_STD_ATOMIC_REF"/>
17+
<flags CUDA_FLAGS="-DALPAKA_HAS_STD_ATOMIC_REF"/>
18+
<flags GENREFLEX_CPPFLAGS="-DALPAKA_HAS_STD_ATOMIC_REF"/>
1619
</tool>

0 commit comments

Comments
 (0)