Skip to content

Commit

Permalink
[openblas] Fix C/CXX flag customization in openblas (#18535)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
4 people committed Jul 23, 2021
1 parent 4e2653e commit dec95c6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ports/openblas/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/openblas/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4546,7 +4546,7 @@
},
"openblas": {
"baseline": "0.3.10",
"port-version": 2
"port-version": 3
},
"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": "20d57360e6e7afa4e4f033a87e1ded91571ee462",
"version": "0.3.10",
"port-version": 3
},
{
"git-tree": "510adc011214327468768aa22c1f08a2d2d632ab",
"version": "0.3.10",
Expand Down

0 comments on commit dec95c6

Please sign in to comment.