Enable powerpc in make tinderbox using clang instead of GCC.
powerpcspe is disabled for now until clang/llvm issues with spe have been fixed. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D23031
This commit is contained in:
parent
0b2b53a2ea
commit
20723f186a
10
Makefile
10
Makefile
@ -491,15 +491,13 @@ worlds: .PHONY
|
|||||||
# honor that most of all.
|
# honor that most of all.
|
||||||
#
|
#
|
||||||
_OBSOLETE_GCC_TARGETS=mips sparc64
|
_OBSOLETE_GCC_TARGETS=mips sparc64
|
||||||
.if defined(MAKE_OBSOLETE_GCC)
|
TARGETS?=amd64 arm arm64 i386 powerpc riscv ${_OBSOLETE_GCC_TARGETS}
|
||||||
_OBSOLETE_GCC_TARGETS+=powerpc
|
|
||||||
.endif
|
|
||||||
TARGETS?=amd64 arm arm64 i386 riscv ${_OBSOLETE_GCC_TARGETS}
|
|
||||||
_UNIVERSE_TARGETS= ${TARGETS}
|
_UNIVERSE_TARGETS= ${TARGETS}
|
||||||
TARGET_ARCHES_arm?= armv6 armv7
|
TARGET_ARCHES_arm?= armv6 armv7
|
||||||
TARGET_ARCHES_arm64?= aarch64
|
TARGET_ARCHES_arm64?= aarch64
|
||||||
TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 mipselhf mipshf mips64elhf mips64hf
|
TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 mipselhf mipshf mips64elhf mips64hf
|
||||||
TARGET_ARCHES_powerpc?= powerpc powerpc64 powerpcspe
|
# powerpcspe excluded until clang fixed
|
||||||
|
TARGET_ARCHES_powerpc?= powerpc powerpc64
|
||||||
# riscv64sf excluded due to PR 232085
|
# riscv64sf excluded due to PR 232085
|
||||||
TARGET_ARCHES_riscv?= riscv64
|
TARGET_ARCHES_riscv?= riscv64
|
||||||
.for target in ${TARGETS}
|
.for target in ${TARGETS}
|
||||||
@ -510,12 +508,10 @@ MAKE_PARAMS_riscv?= CROSS_TOOLCHAIN=riscv64-gcc
|
|||||||
.if !defined(MAKE_OBSOLETE_GCC)
|
.if !defined(MAKE_OBSOLETE_GCC)
|
||||||
OBSOLETE_GCC_TARGETS=${_OBSOLETE_GCC_TARGETS}
|
OBSOLETE_GCC_TARGETS=${_OBSOLETE_GCC_TARGETS}
|
||||||
MAKE_PARAMS_mips?= CROSS_TOOLCHAIN=mips-gcc6
|
MAKE_PARAMS_mips?= CROSS_TOOLCHAIN=mips-gcc6
|
||||||
MAKE_PARAMS_powerpc?= CROSS_TOOLCHAIN=powerpc64-gcc6
|
|
||||||
MAKE_PARAMS_sparc64?= CROSS_TOOLCHAIN=sparc64-gcc6
|
MAKE_PARAMS_sparc64?= CROSS_TOOLCHAIN=sparc64-gcc6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
TOOLCHAINS_mips= mips-gcc6
|
TOOLCHAINS_mips= mips-gcc6
|
||||||
TOOLCHAINS_powerpc= powerpc64-gcc6
|
|
||||||
TOOLCHAINS_riscv= riscv64-gcc
|
TOOLCHAINS_riscv= riscv64-gcc
|
||||||
TOOLCHAINS_sparc64= sparc64-gcc6
|
TOOLCHAINS_sparc64= sparc64-gcc6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user