Skip to content

Commit

Permalink
only mp in not windows
Browse files Browse the repository at this point in the history
  • Loading branch information
phbasler committed Jun 4, 2024
1 parent 4c44f41 commit 0bab1ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
- name: Install conan
run: pip install conan>2
- run: conan profile detect
- run: conan create . --build=missing
- run: conan create . --build=missing --options shared=True
name: Build shared
- run: conan create . --build=missing --options shared=False
name: Build static
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def build_requirements(self):
def requirements(self):
self.requires("eigen/3.4.0", transitive_headers=True)

if self.options.openmp:
if self.options.openmp and self.settings.os != "windows":
self.requires("llvm-openmp/17.0.6", transitive_headers=True)

def set_version(self):
Expand Down

0 comments on commit 0bab1ea

Please sign in to comment.