Created
December 13, 2015 12:15
-
-
Save karaage0703/955324396cf60e1dc839 to your computer and use it in GitHub Desktop.
Optimize build process on debian jessie
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
#!/bin/bash | |
# manipulate header path, before building caffe on debian jessie | |
# usage: | |
# 1. cd root of caffe | |
# 2. bash <this_script> | |
# 3. build | |
# transformations : | |
# #include "hdf5/serial/hdf5.h" -> #include "hdf5/serial/hdf5.h" | |
# #include "hdf5_hl.h" -> #include "hdf5/serial/hdf5_hl.h" | |
find . -type f -exec sed -i -e 's^"hdf5.h"^"hdf5/serial/hdf5.h"^g' -e 's^"hdf5_hl.h"^"hdf5/serial/hdf5_hl.h"^g' '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment