Skip to content

Commit

Permalink
Added README for caffe
Browse files Browse the repository at this point in the history
  • Loading branch information
willyd committed Sep 26, 2017
1 parent fb0cfdb commit 9cb07ea
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README_CAFFE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generating dependencies for Caffe

## Patch boost to build boost.python

See [link](https://github.com)

## Install dependencies

```Batch
vcpkg install boost gflags glog hdf5 lmdb protobuf opencv openblas --triplet x64-windows
```

## Patch hdf5-config

Replace lines 64-67 by:
```CMake
if (${HDF5_PACKAGE_NAME}_ENABLE_PARALLEL)
set (${HDF5_PACKAGE_NAME}_MPI_C_INCLUDE_PATH "${PACKAGE_PREFIX_DIR}/include")
set (${HDF5_PACKAGE_NAME}_MPI_C_LIBRARIES "${PACKAGE_PREFIX_DIR}/lib/msmpi.lib")
endif ()
```

## Export

```
vcpkg export boost:x64-windows gflags:x64-windows glog:x64-windows hdf5:x64-windows lmdb:x64-windows protobuf:x64-windows opencv:x64-windows openblas:x64-windows --zip
```

0 comments on commit 9cb07ea

Please sign in to comment.