Skip to content

Commit

Permalink
Enabled BigCrunch on default build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus J. Pulido committed Aug 29, 2018
1 parent d315395 commit ef57e6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ mkdir $buildDir
cd $buildDir

# build
cmake ../src -DBLOSC_INCLUDE_PATH=$projectPath/ExternalDependencies/c-blosc/install/include -DBLOSC_LIBRARY=$projectPath/ExternalDependencies/c-blosc/install/lib/libblosc.so -DSZ_INCLUDE_PATH=$projectPath/ExternalDependencies/SZ/sz/include -DSZ_LIBRARY=$projectPath/ExternalDependencies/SZ/install/lib/libSZ.so -DZLIB_LIBRARY=$projectPath/ExternalDependencies/SZ/install/lib/libzlib.so -DZSTD_LIBRARY=$projectPath/ExternalDependencies/SZ/install/lib/libzstd.so
cmake ../src -DBLOSC_INCLUDE_PATH=$projectPath/ExternalDependencies/c-blosc/install/include \
-DBLOSC_LIBRARY=$projectPath/ExternalDependencies/c-blosc/install/lib/libblosc.so \
-DSZ_INCLUDE_PATH=$projectPath/ExternalDependencies/SZ/sz/include \
-DSZ_LIBRARY=$projectPath/ExternalDependencies/SZ/install/lib/libSZ.so \
-DZLIB_LIBRARY=$projectPath/ExternalDependencies/SZ/install/lib/libzlib.so \
-DZSTD_LIBRARY=$projectPath/ExternalDependencies/SZ/install/lib/libzstd.so \
-DBIGCRUNCH_INCLUDE_PATH=$projectPath/ExternalDependencies/VizAly-BigCrunch/install/include \
-DBIGCRUNCH_LIBRARY=$projectPath/ExternalDependencies/VizAly-BigCrunch/install/lib/libbigcrunch.so

make -j

4 changes: 2 additions & 2 deletions src/compressors/BigCrunch/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
option(CBENCH_ENABLE_BIG_CRUNCH "Enable BigCrunch." OFF)
option(CBENCH_ENABLE_BIG_CRUNCH "Enable BigCrunch." ON)

if (CBENCH_ENABLE_BIG_CRUNCH)
set(MY_LIBS "")
Expand All @@ -20,4 +20,4 @@ if (CBENCH_ENABLE_BIG_CRUNCH)
set_property(GLOBAL APPEND PROPERTY includeDirectories ${BIGCRUNCH_INCLUDE_PATH})
set_property(GLOBAL APPEND PROPERTY linkLibraries ${MY_LIBS})
endif()
endif()
endif()

0 comments on commit ef57e6e

Please sign in to comment.