Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added USE_HDF5 flag to build #6346

Merged
merged 1 commit into from
Aug 21, 2018
Merged

Added USE_HDF5 flag to build #6346

merged 1 commit into from
Aug 21, 2018

Conversation

jerryz123
Copy link
Contributor

Cherry-picked from android branch.

@jerryz123
Copy link
Contributor Author

Referencing issue #6332

@Noiredd Noiredd self-requested a review April 17, 2018 07:24
@Noiredd Noiredd merged commit e15898a into BVLC:master Aug 21, 2018
CorentinB added a commit to CorentinB/caffe that referenced this pull request Aug 24, 2018
XinYao1994 pushed a commit to XinYao1994/caffe that referenced this pull request Aug 29, 2018
@fpvision
Copy link

Hello

I’m a novice in reporting issues on github, so I will try this channel – please correct me if I am doing it wrong.

I cross compile BVLC/ Caffe using buildroot. Since HDF5 can not easily cross compile, I was happy when I saw this commit.

But I suspect you only tried to build it on a target that already has HFD5 installed, because the build fails in 2 places.
Neither my buildhost nor my target has any HDF5 stuff installed.


in cmake/Dependencies.cmake
lines 45-48 should have been guarded by the USE_HDF5 sentinel
Cmake fails since no HDF5 stuff is available.


In src /caffe/net.cpp
line 774 the function H5Fis_hdf5 is referenced
Should have been guarded by the USE_HDF5 sentinel

I use the following build parameters:
```
-DUSE_HDF5=OFF
-DCPU_ONLY=ON
-DBLAS=Open
-DUSE_NCCL=OFF
-DBUILD_python=OFF
-DBUILD_python_layer=OFF
-DUSE_LEVELDB=OFF
-DUSE_LMDB=OFF
-DBUILD_docs=OFF
-DUSE_OPENCV=OFF


Regards Lars Larsen






Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants