Skip to content

Commit e7ce217

Browse files
OpenBLAS flag updates to address #1877 (#1914)
- Addresses #1877 - #1746 introduced an issue in the pytorch workflows, which aren't included in pre-submit CI, so the issue was missed then. - Switching back to `C_LAPACK` for now as quickest solution. - `CMAKE_CROSSCOMPILING` is not needed for our current use case. # Test Plan - Trigger the pytorch workflows to verify fortran issue is not present.
1 parent 4924248 commit e7ce217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third-party/host-blas/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ if(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
5555
CMAKE_ARGS
5656
"-DSOURCE_DIR=${_source_dir}"
5757
-DBUILD_SHARED_LIBS=ON
58+
-DC_LAPACK=ON
5859
# https://github.com/OpenMathLib/OpenBLAS?tab=readme-ov-file#x86x86-64
5960
# Picking HASWELL as a baseline that supports modern AMD and Intel CPUs
60-
-DCMAKE_CROSSCOMPILING=ON
6161
-DTARGET=HASWELL
6262
-DDYNAMIC_ARCH=${_enable_dynamicArch}
6363
-DBUILD_TESTING=OFF

0 commit comments

Comments
 (0)