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 1faa13a commit 6d69ab3Copy full SHA for 6d69ab3
ggml/src/CMakeLists.txt
@@ -145,6 +145,9 @@ endif()
145
# which was introduced in POSIX.1-2008, forcing us to go higher
146
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
147
add_compile_definitions(_XOPEN_SOURCE=700)
148
+elseif (CMAKE_SYSTEM_NAME MATCHES "AIX")
149
+ # Don't define _XOPEN_SOURCE. We need _ALL_SOURCE, which is the default,
150
+ # in order to define _SC_PHYS_PAGES.
151
else()
152
add_compile_definitions(_XOPEN_SOURCE=600)
153
endif()
0 commit comments