aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJohannes Schönberger <johannes.schonberger@microsoft.com>2021-07-23 07:05:06 +0200
committerGitHub <noreply@github.com>2021-07-22 22:05:06 -0700
commitdec95c6eae27fedd3aab8f47c303ee341a4388d6 (patch)
tree45470c104c689969711f024b8577bbc7d966ec50 /ports
parent4e2653ee0252c5c9c38d254c554eaca7428e5085 (diff)
downloadvcpkg-dec95c6eae27fedd3aab8f47c303ee341a4388d6.tar.gz
vcpkg-dec95c6eae27fedd3aab8f47c303ee341a4388d6.zip
[openblas] Fix C/CXX flag customization in openblas (#18535)
* Fix C/CXX flag customization in openblas * Update ports/openblas/portfile.cmake Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> * Update versions * Update versions/o-/openblas.json * Fix merge conflict * Update versions/o-/openblas.json Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Billy Robert ONeal III <bion@microsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/openblas/portfile.cmake4
-rw-r--r--ports/openblas/vcpkg.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/openblas/portfile.cmake b/ports/openblas/portfile.cmake
index df74c3e68..262101692 100644
--- a/ports/openblas/portfile.cmake
+++ b/ports/openblas/portfile.cmake
@@ -79,8 +79,8 @@ elseif(VCPKG_TARGET_IS_WINDOWS)
${COMMON_OPTIONS}
)
else()
- list(APPEND VCPKG_C_FLAGS "-DNEEDBUNDERSCORE") # Required to get common BLASFUNC to append extra _
- list(APPEND VCPKG_CXX_FLAGS "-DNEEDBUNDERSCORE")
+ string(APPEND VCPKG_C_FLAGS " -DNEEDBUNDERSCORE") # Required to get common BLASFUNC to append extra _
+ string(APPEND VCPKG_CXX_FLAGS " -DNEEDBUNDERSCORE")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
diff --git a/ports/openblas/vcpkg.json b/ports/openblas/vcpkg.json
index 657558ade..8315910a3 100644
--- a/ports/openblas/vcpkg.json
+++ b/ports/openblas/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "openblas",
"version": "0.3.10",
- "port-version": 2,
+ "port-version": 3,
"description": "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.",
"homepage": "https://github.com/xianyi/OpenBLAS",
"default-features": [