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 6c7b691 commit dceff55Copy full SHA for dceff55
cmake/system_check.cmake
@@ -10,6 +10,16 @@ if (${HOST_OS} STREQUAL "WINDOWS")
10
set(HOST_OS WINNT)
11
endif ()
12
13
+if (${HOST_OS} STREQUAL "LINUX")
14
+# check if we're building natively on Android (TERMUX)
15
+ EXECUTE_PROCESS( COMMAND uname -o COMMAND tr -d '\n' OUTPUT_VARIABLE OPERATING_SYSTEM)
16
+ if(${OPERATING_SYSTEM} MATCHES "Android")
17
+ set(HOST_OS ANDROID)
18
+ endif(${OPERATING_SYSTEM} MATCHES "Android")
19
+endif()
20
+
21
22
23
if(CMAKE_COMPILER_IS_GNUCC AND WIN32)
24
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpmachine
25
OUTPUT_VARIABLE OPENBLAS_GCC_TARGET_MACHINE
0 commit comments