-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[openblas] Update to the 0.3.10 #13587
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
cd2cb33
[Many ports] Update to the latest version
LilyWangL 62ce547
[rhash] Update ci.baseline.txt
LilyWangL 0d6ad8a
[update] Remove change of rhash
LilyWangL 0cfae25
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/…
LilyWangL c6365cc
[update] Revert ci.baseline.txt
LilyWangL 8d77e36
[update] Revert ci.baseline.txt
LilyWangL 6b95f35
[update] Remove change of poco and paho-mqtt
LilyWangL c0ed63f
[sqlpp11] Revert change
LilyWangL ab0bc89
[openblas] Fix uwp error
LilyWangL ad6cb28
Update CONTROL
LilyWangL c066cb4
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| Source: openblas | ||
| Version: 0.3.9 | ||
| Port-Version: 3 | ||
| Version: 0.3.10 | ||
| Homepage: https://github.com/xianyi/OpenBLAS | ||
| Build-Depends: pthread (linux&osx) | ||
| Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,43 @@ | ||
| diff --git a/cmake/prebuild.cmake b/cmake/prebuild.cmake | ||
| index fc66eb0..ffaffcf 100644 | ||
| --- a/cmake/prebuild.cmake | ||
| +++ b/cmake/prebuild.cmake | ||
| @@ -296,14 +296,14 @@ else(NOT CMAKE_CROSSCOMPILING) | ||
|
|
||
| set(GETARCH_DIR "${PROJECT_BINARY_DIR}/getarch_build") | ||
| set(GETARCH_BIN "getarch${CMAKE_EXECUTABLE_SUFFIX}") | ||
| - file(MAKE_DIRECTORY ${GETARCH_DIR}) | ||
| - configure_file(${TARGET_CONF_TEMP} ${GETARCH_DIR}/${TARGET_CONF} COPYONLY) | ||
| + file(MAKE_DIRECTORY "${GETARCH_DIR}") | ||
| + configure_file(${TARGET_CONF_TEMP} "${GETARCH_DIR}/${TARGET_CONF}" COPYONLY) | ||
| if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore") | ||
| - try_compile(GETARCH_RESULT ${GETARCH_DIR} | ||
| + try_compile(GETARCH_RESULT "${GETARCH_DIR}" | ||
| SOURCES ${GETARCH_SRC} | ||
| - COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} -I${GETARCH_DIR} -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}" | ||
| + COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} -I"${GETARCH_DIR}" -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}" | ||
| OUTPUT_VARIABLE GETARCH_LOG | ||
| - COPY_FILE ${PROJECT_BINARY_DIR}/${GETARCH_BIN} | ||
| + COPY_FILE "${PROJECT_BINARY_DIR}/${GETARCH_BIN}" | ||
| ) | ||
|
|
||
| if (NOT ${GETARCH_RESULT}) | ||
| @@ -324,14 +324,14 @@ execute_process(COMMAND "${BLASHELPER_BINARY_DIR}/${GETARCH_BIN}" 1 OUTPUT_VARIA | ||
|
|
||
| set(GETARCH2_DIR "${PROJECT_BINARY_DIR}/getarch2_build") | ||
| set(GETARCH2_BIN "getarch_2nd${CMAKE_EXECUTABLE_SUFFIX}") | ||
| - file(MAKE_DIRECTORY ${GETARCH2_DIR}) | ||
| - configure_file(${TARGET_CONF_TEMP} ${GETARCH2_DIR}/${TARGET_CONF} COPYONLY) | ||
| + file(MAKE_DIRECTORY "${GETARCH2_DIR}") | ||
| + configure_file(${TARGET_CONF_TEMP} "${GETARCH2_DIR}/${TARGET_CONF}" COPYONLY) | ||
| if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore") | ||
| - try_compile(GETARCH2_RESULT ${GETARCH2_DIR} | ||
| - SOURCES ${PROJECT_SOURCE_DIR}/getarch_2nd.c | ||
| - COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} ${GETARCH2_FLAGS} -I${GETARCH2_DIR} -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}" | ||
| + try_compile(GETARCH2_RESULT "${GETARCH2_DIR}" | ||
| + SOURCES "${PROJECT_SOURCE_DIR}/getarch_2nd.c" | ||
| + COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} ${GETARCH2_FLAGS} -I"${GETARCH2_DIR}" -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}" | ||
| OUTPUT_VARIABLE GETARCH2_LOG | ||
| - COPY_FILE ${PROJECT_BINARY_DIR}/${GETARCH2_BIN} | ||
| + COPY_FILE "${PROJECT_BINARY_DIR}/${GETARCH2_BIN}" | ||
| ) | ||
|
|
||
| if (NOT ${GETARCH2_RESULT}) | ||
| diff --git a/cmake/prebuild.cmake b/cmake/prebuild.cmake | ||
| index 58ca1eb..e2f2134 100644 | ||
| --- a/cmake/prebuild.cmake | ||
| +++ b/cmake/prebuild.cmake | ||
| @@ -490,14 +490,14 @@ else(NOT CMAKE_CROSSCOMPILING) | ||
|
|
||
| set(GETARCH_DIR "${PROJECT_BINARY_DIR}/getarch_build") | ||
| set(GETARCH_BIN "getarch${CMAKE_EXECUTABLE_SUFFIX}") | ||
| - file(MAKE_DIRECTORY ${GETARCH_DIR}) | ||
| - configure_file(${TARGET_CONF_TEMP} ${GETARCH_DIR}/${TARGET_CONF} COPYONLY) | ||
| + file(MAKE_DIRECTORY "${GETARCH_DIR}") | ||
| + configure_file(${TARGET_CONF_TEMP} "${GETARCH_DIR}/${TARGET_CONF}" COPYONLY) | ||
| if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore") | ||
| - try_compile(GETARCH_RESULT ${GETARCH_DIR} | ||
| + try_compile(GETARCH_RESULT "${GETARCH_DIR}" | ||
| SOURCES ${GETARCH_SRC} | ||
| COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} -I"${GETARCH_DIR}" -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}" | ||
| OUTPUT_VARIABLE GETARCH_LOG | ||
| - COPY_FILE ${PROJECT_BINARY_DIR}/${GETARCH_BIN} | ||
| + COPY_FILE "${PROJECT_BINARY_DIR}/${GETARCH_BIN}" | ||
| ) | ||
|
|
||
| if (NOT ${GETARCH_RESULT}) | ||
| @@ -518,14 +518,14 @@ execute_process(COMMAND "${BLASHELPER_BINARY_DIR}/${GETARCH_BIN}" 1 OUTPUT_VARIA | ||
|
|
||
| set(GETARCH2_DIR "${PROJECT_BINARY_DIR}/getarch2_build") | ||
| set(GETARCH2_BIN "getarch_2nd${CMAKE_EXECUTABLE_SUFFIX}") | ||
| - file(MAKE_DIRECTORY ${GETARCH2_DIR}) | ||
| - configure_file(${TARGET_CONF_TEMP} ${GETARCH2_DIR}/${TARGET_CONF} COPYONLY) | ||
| + file(MAKE_DIRECTORY "${GETARCH2_DIR}") | ||
| + configure_file(${TARGET_CONF_TEMP} "${GETARCH2_DIR}/${TARGET_CONF}" COPYONLY) | ||
| if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore") | ||
| - try_compile(GETARCH2_RESULT ${GETARCH2_DIR} | ||
| - SOURCES ${PROJECT_SOURCE_DIR}/getarch_2nd.c | ||
| + try_compile(GETARCH2_RESULT "${GETARCH2_DIR}" | ||
| + SOURCES "${PROJECT_SOURCE_DIR}/getarch_2nd.c" | ||
| COMPILE_DEFINITIONS ${EXFLAGS} ${GETARCH_FLAGS} ${GETARCH2_FLAGS} -I"${GETARCH2_DIR}" -I"${PROJECT_SOURCE_DIR}" -I"${PROJECT_BINARY_DIR}" | ||
| OUTPUT_VARIABLE GETARCH2_LOG | ||
| - COPY_FILE ${PROJECT_BINARY_DIR}/${GETARCH2_BIN} | ||
| + COPY_FILE "${PROJECT_BINARY_DIR}/${GETARCH2_BIN}" | ||
| ) | ||
|
|
||
| if (NOT ${GETARCH2_RESULT}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| diff --git a/common_stackalloc.h b/common_stackalloc.h | ||
| index d3d5466..cd157fc 100644 | ||
| --- a/common_stackalloc.h | ||
| +++ b/common_stackalloc.h | ||
| @@ -36,7 +36,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| #define STACK_ALLOC_PROTECT_CHECK | ||
| #endif | ||
|
|
||
| -#if defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0 | ||
| +#if defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0 && !(defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)) | ||
|
|
||
| /* | ||
| * Allocate a buffer on the stack if the size is smaller than MAX_STACK_ALLOC. | ||
| @@ -63,7 +63,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| #endif | ||
|
|
||
|
|
||
| -#if defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0 | ||
| +#if defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0 && !(defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)) | ||
| #define STACK_FREE(BUFFER) \ | ||
| STACK_ALLOC_PROTECT_CHECK \ | ||
| if(!stack_alloc_size) \ | ||
| diff --git a/interface/zgemv.c b/interface/zgemv.c | ||
| index 3e98dba..ee597f7 100644 | ||
| --- a/interface/zgemv.c | ||
| +++ b/interface/zgemv.c | ||
| @@ -244,7 +244,7 @@ void CNAME(enum CBLAS_ORDER order, | ||
| buffer_size = (buffer_size + 3) & ~3; | ||
| STACK_ALLOC(buffer_size, FLOAT, buffer); | ||
|
|
||
| -#if defined(ARCH_X86_64) && defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0 | ||
| +#if defined(ARCH_X86_64) && defined(MAX_STACK_ALLOC) && MAX_STACK_ALLOC > 0 && !(defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)) | ||
| // cgemv_t.S return NaN if there are NaN or Inf in the buffer (see bug #746) | ||
| if(trans && stack_alloc_size) | ||
| memset(buffer, 0, MIN(BUFFER_SIZE, sizeof(FLOAT) * buffer_size)); |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.