[go: up one dir, main page]

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

[blaze] Add lapack and openmp features #36786

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[blaze] Add lapack and openmp features
  • Loading branch information
jbuonagurio committed Feb 16, 2024
commit 8a24c10625dd6f21ade182a4ce972099be883fd7
7 changes: 7 additions & 0 deletions ports/blaze/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ vcpkg_from_bitbucket(
HEAD_REF master
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
lapack USE_LAPACK
openmp BLAZE_SHARED_MEMORY_PARALLELIZATION
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
-DBLAZE_SMP_THREADS=OpenMP
)

Expand Down
19 changes: 17 additions & 2 deletions ports/blaze/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "blaze",
"version": "3.8.2",
"port-version": 1,
"description": "Blaze is an open-source, high-performance C++ math library for dense and sparse arithmetic.",
"homepage": "https://bitbucket.org/blaze-lib/blaze",
"license": "BSD-3-Clause",
"dependencies": [
"boost-exception",
"lapack",
{
"name": "vcpkg-cmake",
"host": true
Expand All @@ -15,5 +15,20 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"default-features": [
"lapack",
"openmp"
],
"features": {
"lapack": {
"description": "LAPACK support",
"dependencies": [
"lapack"
]
},
"openmp": {
"description": "OpenMP support"
}
}
}
5 changes: 5 additions & 0 deletions versions/b-/blaze.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "408eb24a2dfa52911481429dbf59d384ee80464d",
"version": "3.8.2",
"port-version": 1
},
{
"git-tree": "9f237bb789d83a4004b263f9544ed3d6668f160f",
"version": "3.8.2",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@
},
"blaze": {
"baseline": "3.8.2",
"port-version": 0
"port-version": 1
},
"blend2d": {
"baseline": "2023-06-16",
Expand Down