We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77e6caa commit 1de3d1aCopy full SHA for 1de3d1a
src/CMakeLists.txt
@@ -94,6 +94,10 @@ set_target_properties(whisper PROPERTIES
94
target_include_directories(whisper PUBLIC . ../include)
95
target_compile_features (whisper PUBLIC cxx_std_11) # don't bump
96
97
+if (CMAKE_CXX_BYTE_ORDER STREQUAL "BIG_ENDIAN")
98
+ set(WHISPER_EXTRA_FLAGS ${WHISPER_EXTRA_FLAGS} -DGGML_BIG_ENDIAN)
99
+endif()
100
+
101
if (WHISPER_EXTRA_FLAGS)
102
target_compile_options(whisper PRIVATE ${WHISPER_EXTRA_FLAGS})
103
endif()
0 commit comments