update minimum ANARI-SDK version required

This commit is contained in:
Jefferson Amstutz 2024-01-17 09:58:14 -06:00
parent 7eadea766f
commit 24da5da202
3 changed files with 2 additions and 6 deletions

@ -57,7 +57,7 @@ RUN mkdir -p /opt/kokkos/build && \
# Build and install ANARI SDK
WORKDIR /opt/anari/src
ARG ANARI_VERSION=0.7.1
ARG ANARI_VERSION=0.8.0
RUN curl -L https://github.com/KhronosGroup/ANARI-SDK/archive/refs/tags/v$ANARI_VERSION.tar.gz | tar xzv && \
cmake -GNinja \
-S ANARI-SDK-$ANARI_VERSION \

@ -8,7 +8,7 @@
## PURPOSE. See the above copyright notice for more information.
##============================================================================
find_package(anari 0.7.0 REQUIRED)
find_package(anari 0.8.0 REQUIRED)
set(headers
ANARIActor.h

@ -22,10 +22,6 @@ namespace anari_cpp = ::anari;
namespace anari
{
#if ANARI_SDK_VERSION_MINOR >= 8
using namespace ::anari::math;
#endif
/// These declarations let ANARI C++ bindings infer the correct `ANARIDataType`
/// enum value from VTK-m's C++ math types. This header should be included
/// before any code which needs this type inference to function.