llvm.org GIT mirror llvm / 2864de7
autoconf: Re-introduce LLVM_HOSTTRIPLE since r143500, as rework of PR11060. cmake: Add LLVM_HOSTTRIPLE. For now, it is same as TARGET_TRIPLE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160609 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
7 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
15371537 [Installation directory for man pages])
15381538 AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME",
15391539 [Time at which LLVM was configured])
1540 AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$host",
1541 [Host triple LLVM will be executed on])
15401542 AC_DEFINE_UNQUOTED(LLVM_DEFAULT_TARGET_TRIPLE, "$target",
15411543 [Target triple LLVM will generate code for by default])
15421544
294294 # By default, we target the host, but this can be overridden at CMake
295295 # invocation time.
296296 set(LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_HOST_TRIPLE}")
297 set(LLVM_HOSTTRIPLE "${LLVM_HOST_TRIPLE}")
297298 set(TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}")
298299
299300 # Determine the native architecture.
2094820948
2094920949
2095020950 cat >>confdefs.h <<_ACEOF
20951 #define LLVM_HOSTTRIPLE "$host"
20952 _ACEOF
20953
20954
20955 cat >>confdefs.h <<_ACEOF
2095120956 #define LLVM_DEFAULT_TARGET_TRIPLE "$target"
2095220957 _ACEOF
2095320958
553553 /* Has gcc/MSVC atomic intrinsics */
554554 #cmakedefine01 LLVM_HAS_ATOMICS
555555
556 /* Host triple LLVM will be executed on */
557 #cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}"
558
556559 /* Installation directory for include files */
557560 #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
558561
551551 /* Has gcc/MSVC atomic intrinsics */
552552 #undef LLVM_HAS_ATOMICS
553553
554 /* Host triple LLVM will be executed on */
555 #undef LLVM_HOSTTRIPLE
556
554557 /* Installation directory for include files */
555558 #undef LLVM_INCLUDEDIR
556559
3838
3939 /* Has gcc/MSVC atomic intrinsics */
4040 #cmakedefine01 LLVM_HAS_ATOMICS
41
42 /* Host triple LLVM will be executed on */
43 #cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}"
4144
4245 /* Installation directory for include files */
4346 #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
3838
3939 /* Has gcc/MSVC atomic intrinsics */
4040 #undef LLVM_HAS_ATOMICS
41
42 /* Host triple LLVM will be executed on */
43 #undef LLVM_HOSTTRIPLE
4144
4245 /* Installation directory for include files */
4346 #undef LLVM_INCLUDEDIR