Skip to content
Merged
Changes from all 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: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ set(OpenBLAS_PATCH_VERSION 30.dev)

set(OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION}.${OpenBLAS_MINOR_VERSION}.${OpenBLAS_PATCH_VERSION}")

# A known problem of OpenBLAS.
# It can not be built with -O0 optimization level.
# https://stackoverflow.com/questions/63023087/inline-asm-fails-to-compile-without-optimization?utm_source=chatgpt.com
add_compile_options(-Wno-everything -O3)

# Adhere to GNU filesystem layout conventions
include(GNUInstallDirs)

Expand Down