Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 0 additions & 5 deletions ports/openblas/CONTROL

This file was deleted.

11 changes: 9 additions & 2 deletions ports/openblas/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ set(PATH_BACKUP "$ENV{PATH}")
vcpkg_add_to_path("${PERL_EXE_PATH}")
vcpkg_add_to_path("${SED_EXE_PATH}")

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
thread USE_THREAD
Comment thread
JackBoosY marked this conversation as resolved.
Outdated
simplethread USE_SIMPLE_THREADED_LEVEL3
)

set(COMMON_OPTIONS -DBUILD_WITHOUT_LAPACK=ON)

# for UWP version, must build non uwp first for helper
Expand All @@ -40,7 +46,7 @@ if(VCPKG_TARGET_IS_UWP)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
OPTIONS ${FEATURE_OPTIONS}
${COMMON_OPTIONS}
-DTARGET=NEHALEM
)
Expand Down Expand Up @@ -69,7 +75,8 @@ elseif(VCPKG_TARGET_IS_WINDOWS)
PREFER_NINJA
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
${COMMON_OPTIONS})
${COMMON_OPTIONS}
)
else()
list(APPEND VCPKG_C_FLAGS "-DNEEDBUNDERSCORE") # Required to get common BLASFUNC to append extra _
list(APPEND VCPKG_CXX_FLAGS "-DNEEDBUNDERSCORE")
Expand Down
32 changes: 32 additions & 0 deletions ports/openblas/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "openblas",
"version": "0.3.10",
"port-version": 1,
"description": "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.",
"homepage": "https://github.com/xianyi/OpenBLAS",
"default-features": [
"thread"
Comment thread
JackBoosY marked this conversation as resolved.
Outdated
],
"features": {
"simplethread": {
"description": "Use simple thread",
"dependencies": [
{
"name": "openblas",
"features": [
"thread"
]
}
]
},
"thread": {
Comment thread
JackBoosY marked this conversation as resolved.
Outdated
"description": "Use a threading backend",
"dependencies": [
{
"name": "pthread",
"platform": "!windows & !uwp"
}
]
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4478,7 +4478,7 @@
},
"openblas": {
"baseline": "0.3.10",
"port-version": 0
"port-version": 1
},
"opencascade": {
"baseline": "7.5.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/openblas.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6f5abab70d2467969c189215dfaa8460a90491f3",
Comment thread
JackBoosY marked this conversation as resolved.
Outdated
"version": "0.3.10",
"port-version": 1
},
{
"git-tree": "1aedad4847c778ad029f805f7b371bcbbb060f09",
"version-string": "0.3.10",
Expand Down