Skip to content

caffe: fixed build error#16520

Merged
adamjstewart merged 2 commits intospack:developfrom
tkameyama:bugfix/caffe
May 12, 2020
Merged

caffe: fixed build error#16520
adamjstewart merged 2 commits intospack:developfrom
tkameyama:bugfix/caffe

Conversation

@tkameyama
Copy link
Copy Markdown
Contributor

  • caffe depemndents hdf5 +hl +cxx
  • change caffe dependency of opencv
  • opencv 3.2 required old cmake


# Optional dependencies
depends_on('[email protected]+core+highgui+imgproc', when='+opencv')
depends_on('[email protected]+core+highgui+imgproc~vtk~videoio~gtk~python', when='+opencv')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

caffe doesn't work if you link to opencv+vtk... or you just want to change the default?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[email protected]+vtk... did not build.
I'm backport to build openvc.

tag="{0}".format(cv),
when='@{0}+cuda'.format(cv))

depends_on('cmake@:3.11', when='@:3.2', type='build')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cmake 3.12 is changed python detection code.
I'm backport for cmake 3.12 or later.

Toyohisa Kameyama added 2 commits May 12, 2020 11:17
caffe dependency is changed.
backport to opencv errors.
@adamjstewart adamjstewart merged commit 7813e41 into spack:develop May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants