[compiler-rt] r301831 - Add powerpc64 and powerpc64le to build infrastructure.
Sterling Augustine via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 09:57:14 PDT 2017
Rolled back with r301935. I will resubmit when I figure out what went wrong.
On Tue, May 2, 2017 at 8:26 AM, Bill Seurer <seurer at linux.vnet.ibm.com>
wrote:
> This update is causing all of the powerpc buildbots to fail. From the bot
> output there are several builtin tests that fail.
>
> FAIL: Builtins-powerpc64le-linux:: clear_cache_test.c
> FAIL: Builtins-powerpc64le-linux:: enable_execute_stack_test.c
> FAIL: Builtins-powerpc64le-linux:: fixunsxfti_test.c
> FAIL: Builtins-powerpc64le-linux:: fixxfti_test.c
> FAIL: Builtins-powerpc64le-linux:: floattixf_test.c
> FAIL: Builtins-powerpc64le-linux:: floatuntixf_test.c
>
> When I try it locally by hand the run hangs with several tests that do not
> finish.
>
> See
>
> http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/5941
>
> or any other recent build
>
> On 05/01/2017 03:35 PM, Sterling Augustine via llvm-commits wrote:
>
>> Author: saugustine
>> Date: Mon May 1 15:35:02 2017
>> New Revision: 301831
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=301831&view=rev
>> Log:
>> Add powerpc64 and powerpc64le to build infrastructure.
>>
>> From Phab D32031.
>>
>>
>> Modified:
>> compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake
>> compiler-rt/trunk/cmake/base-config-ix.cmake
>> compiler-rt/trunk/cmake/builtin-config-ix.cmake
>> compiler-rt/trunk/lib/builtins/CMakeLists.txt
>>
>> Modified: compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/
>> Modules/CompilerRTUtils.cmake?rev=301831&r1=301830&r2=301831&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake (original)
>> +++ compiler-rt/trunk/cmake/Modules/CompilerRTUtils.cmake Mon May 1
>> 15:35:02 2017
>> @@ -167,6 +167,8 @@ macro(detect_target_arch)
>> check_symbol_exists(__i386__ "" __I386)
>> check_symbol_exists(__mips__ "" __MIPS)
>> check_symbol_exists(__mips64__ "" __MIPS64)
>> + check_symbol_exists(__powerpc64__ "" __PPC64)
>> + check_symbol_exists(__powerpc64le__ "" __PPC64LE)
>> check_symbol_exists(__s390x__ "" __S390X)
>> check_symbol_exists(__wasm32__ "" __WEBASSEMBLY32)
>> check_symbol_exists(__wasm64__ "" __WEBASSEMBLY64)
>> @@ -184,6 +186,10 @@ macro(detect_target_arch)
>> add_default_target_arch(mips64)
>> elseif(__MIPS)
>> add_default_target_arch(mips)
>> + elseif(__PPC64)
>> + add_default_target_arch(powerpc64)
>> + elseif(__PPC64LE)
>> + add_default_target_arch(powerpc64le)
>> elseif(__S390X)
>> add_default_target_arch(s390x)
>> elseif(__WEBASSEMBLY32)
>>
>> Modified: compiler-rt/trunk/cmake/base-config-ix.cmake
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/
>> base-config-ix.cmake?rev=301831&r1=301830&r2=301831&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/cmake/base-config-ix.cmake (original)
>> +++ compiler-rt/trunk/cmake/base-config-ix.cmake Mon May 1 15:35:02 2017
>> @@ -4,6 +4,7 @@
>> # runtime libraries.
>>
>> include(CheckIncludeFile)
>> +include(TestBigEndian)
>> check_include_file(unwind.h HAVE_UNWIND_H)
>>
>> # Top level target used to build all compiler-rt libraries.
>> @@ -178,6 +179,10 @@ macro(test_targets)
>> test_target_arch(aarch32 "" "-march=armv8-a")
>> elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch64")
>> test_target_arch(aarch64 "" "-march=armv8-a")
>> + elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64")
>> + test_target_arch(powerpc64 "" "--target=powerpc64-unknown-un
>> known")
>> + elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le")
>> + test_target_arch(powerpc64le "" "--target=powerpc64le-unknown-
>> unknown")
>> elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "wasm32")
>> test_target_arch(wasm32 "" "--target=wasm32-unknown-unknown")
>> elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "wasm64")
>>
>> Modified: compiler-rt/trunk/cmake/builtin-config-ix.cmake
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/
>> builtin-config-ix.cmake?rev=301831&r1=301830&r2=301831&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/cmake/builtin-config-ix.cmake (original)
>> +++ compiler-rt/trunk/cmake/builtin-config-ix.cmake Mon May 1 15:35:02
>> 2017
>> @@ -40,7 +40,7 @@ if(APPLE)
>> endif()
>>
>> set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
>> - ${MIPS32} ${MIPS64} ${WASM32} ${WASM64})
>> + ${MIPS32} ${MIPS64} ${PPC64} ${WASM32} ${WASM64})
>>
>> include(CompilerRTUtils)
>> include(CompilerRTDarwinUtils)
>>
>> Modified: compiler-rt/trunk/lib/builtins/CMakeLists.txt
>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/bu
>> iltins/CMakeLists.txt?rev=301831&r1=301830&r2=301831&view=diff
>> ============================================================
>> ==================
>> --- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
>> +++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Mon May 1 15:35:02
>> 2017
>> @@ -440,6 +440,20 @@ set(mipsel_SOURCES ${mips_SOURCES})
>> set(mips64_SOURCES ${mips_SOURCES})
>> set(mips64el_SOURCES ${mips_SOURCES})
>>
>> +set(powerpc64_SOURCES
>> + ppc/divtc3.c
>> + ppc/fixtfdi.c
>> + ppc/fixunstfdi.c
>> + ppc/floatditf.c
>> + ppc/floatunditf.c
>> + ppc/gcc_qadd.c
>> + ppc/gcc_qdiv.c
>> + ppc/gcc_qmul.c
>> + ppc/gcc_qsub.c
>> + ppc/multc3.c
>> + ${GENERIC_SOURCES})
>> +set(powerpc64le_SOURCES ${powerpc64_SOURCES})
>> +
>> set(wasm32_SOURCES ${GENERIC_SOURCES})
>> set(wasm64_SOURCES ${GENERIC_SOURCES})
>>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>>
>>
>
> --
>
> -Bill Seurer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170502/e186b4b2/attachment.html>
More information about the llvm-commits
mailing list