Skip to content

Commit a4c7a7f

Browse files
committed
Merge branch 'master' into develop
2 parents 4b1b55d + 1a7aa7e commit a4c7a7f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ else()
7777
set(BUILD_BENCHMARKS OFF CACHE BOOL "" FORCE)
7878
set(BUILD_SHARED OFF CACHE BOOL "" FORCE)
7979
set(BUILD_STATIC ON CACHE BOOL "" FORCE)
80+
set(PREFER_EXTERNAL_SNAPPY OFF CACHE BOOL "" FORCE)
8081
add_subdirectory("external/c-blosc")
8182
include_directories(external/c-blosc/blosc)
8283
set(BLOSC_LIBRARIES blosc_static)

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ make
5050

5151
This will create the `libapr.so` library in the `build` directory, as well as all of the examples.
5252

53+
### Docker build
54+
55+
We provide working Dockerfile that install the library within the image on a separate [repo](https://github.com/MSusik/libaprdocker).
56+
5357
### Building on OSX
5458

5559
On OSX, install the `cmake`, `hdf5` and `libtiff` [homebrew](https://brew.sh) packages and have the [Xcode command line tools](http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/) installed.

cmake-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
mkdir build
33
cd build
4-
cmake -DAPR_BUILD_STATIC_LIB=1 -DAPR_BUILD_DYNAMIC_LIB=1 -DAPR_EXAMPLES=1 -DAPR_BUILD_EXAMPLES=1 ..
4+
cmake -DAPR_BUILD_STATIC_LIB=ON -DAPR_BUILD_SHARED_LIB=ON -DAPR_BUILD_EXAMPLES=ON -DAPR_TESTS=ON -DAPR_USE_CUDA=OFF ..
55
cmake --build .
66

7-
# TODO: Add unit test execution
7+
CTEST_OUTPUT_ON_FAILURE=1 ctest

0 commit comments

Comments
 (0)