We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f21ee2 commit 558a64cCopy full SHA for 558a64c
flang-rt/cmake/modules/GetToolchainDirs.cmake
@@ -118,6 +118,9 @@ function (get_toolchain_arch_dirname outvar)
118
set(target "amdgcn-amd-amdhsa")
119
elseif("${arch}" MATCHES "^nvptx")
120
set(target "nvptx64-nvidia-cuda")
121
+ elseif(UNIX AND CMAKE_SYSTEM_NAME MATCHES "AIX")
122
+ # Put at lib/aix to be consistent with clang on AIX.
123
+ string(TOLOWER "${CMAKE_SYSTEM_NAME}" target)
124
else()
125
set(target "${arch}${triple_suffix}")
126
endif()
0 commit comments