forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |