From cd3ea4f603e50c8a4b82b5aac22736064479e526 Mon Sep 17 00:00:00 2001 From: Dan Lipsa Date: Fri, 1 Apr 2022 14:16:49 -0400 Subject: [PATCH] Compile adios2 with blosc on unix and mac. --- projects/adios2.cmake | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/projects/adios2.cmake b/projects/adios2.cmake index b05c1181..186a6124 100644 --- a/projects/adios2.cmake +++ b/projects/adios2.cmake @@ -14,6 +14,16 @@ if(UNIX) list(APPEND adios2_extra_deps ffi) endif() +# Compilation errors with the `blosc` on windows in the superbuild. Needs +# investigation. +# https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/195 +if(WIN32) + set(blosc_platform_enabled OFF) +else() + set(blosc_platform_enabled ${blosc_enabled}) +endif() + + superbuild_add_project(adios2 CAN_USE_SYSTEM DEPENDS @@ -30,11 +40,7 @@ superbuild_add_project(adios2 -DBUILD_TESTING:BOOL=OFF -DADIOS2_BUILD_EXAMPLES:BOOL=OFF -DADIOS2_USE_BZip2:STRING=OFF - # Compilation errors with the `blosc` in the superbuild. Needs - # investigation. - # https://gitlab.kitware.com/paraview/paraview-superbuild/-/issues/195 - #-DADIOS2_USE_Blosc:STRING=${blosc_enabled} - -DADIOS2_USE_Blosc:STRING=OFF + -DADIOS2_USE_Blosc:STRING=${blosc_platform_enabled} -DADIOS2_USE_DataMan:STRING=OFF -DADIOS2_USE_Fortran:STRING=OFF -DADIOS2_USE_HDF5:STRING=OFF -- GitLab