Skip to content

Commit

Permalink
Use brew for hdf5 on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Jul 16, 2024
1 parent 2e0fb49 commit 88ae9fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: brew install conan libomp llvm ninja opencv tbb
run: brew install conan hdf5 libomp llvm ninja opencv tbb

- name: Install dependencies (Windows)
if: runner.os == 'Windows'
Expand Down
5 changes: 1 addition & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ class NeoFDTD(ConanFile):
def requirements(self):
self.requires("cli11/2.4.2")
self.requires("fmt/11.0.1")
self.requires("hdf5/1.14.4.3")

if self.settings.os != "Macos":
self.requires("hdf5/1.14.4.3")
self.requires("opencv/4.10.0")

def config_options(self):
if self.settings.os == "Macos":
self.options["hdf5"].with_zlib = False

self.options["opencv"].calib3d = False
self.options["opencv"].dnn = False
self.options["opencv"].features2d = False
Expand Down

0 comments on commit 88ae9fc

Please sign in to comment.