1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/cmake/modules
David Tenty 94bdd8542e [AIX] Improve 32/64-bit build configuration
Summary:
AIX supports both 32-bit and 64-bit environments (with 32-bit being the default). This patch improves support for building LLVM on AIX in both 32-bit and 64-bit mode.

  - Change host detection to return correct 32/64-bit triple as config_guess does not return the correct version on 64-bit. This can confuse JIT tests and other things that care about what the host triple is.
  - Remove manual setting of 64-bit flags on AIX. AIX provides OBJECT_MODE environment variable to enable the user to obtain a 64-bit development environment. CMake will properly set these flags provided the user sets the correct OBJECT_MODE before configuring and setting them manually will interfere with 32-bit builds.
  - Don't present the LLVM_BUILD_32_BITS option on AIX, users should use OBJECT_MODE when running CMake instead.

Reviewers: hubert.reinterpretcast, DiggerLin, stevewan

Reviewed By: DiggerLin, stevewan

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74256
2020-02-20 15:41:00 -05:00
..
AddLLVM.cmake Fix compiler extension in standalone mode 2020-02-20 07:19:04 +01:00
AddLLVMDefinitions.cmake
AddOCaml.cmake
AddSphinxTarget.cmake
CheckAtomic.cmake [CMake] CheckAtomic.cmake: catch false positives in RISC-V 2020-02-17 18:53:41 +00:00
CheckCompilerVersion.cmake
CheckLinkerFlag.cmake
ChooseMSVCCRT.cmake
CMakeLists.txt Fix compiler extension in standalone mode 2020-02-20 07:19:04 +01:00
CrossCompile.cmake
DetermineGCCCompatible.cmake
FindLibpfm.cmake
FindOCaml.cmake
FindSphinx.cmake
FindZ3.cmake
GenerateVersionFromVCS.cmake
GetHostTriple.cmake [AIX] Improve 32/64-bit build configuration 2020-02-20 15:41:00 -05:00
HandleLLVMOptions.cmake [AIX] Improve 32/64-bit build configuration 2020-02-20 15:41:00 -05:00
HandleLLVMStdlib.cmake
LLVM-Config.cmake
LLVMConfig.cmake.in
LLVMConfigVersion.cmake.in
LLVMDistributionSupport.cmake
LLVMExternalProjectUtils.cmake
LLVMInstallSymlink.cmake
LLVMProcessSources.cmake
TableGen.cmake
UseLibtool.cmake
VersionFromVCS.cmake