Merge pull request #178328 from misuzu/llvm-armv7l

clang_14: drop out-of-date armv7l patch

authored by Bernardo Meurer and committed by GitHub 7bc33699 9f8ee001

+1 -34
-32
pkgs/development/compilers/llvm/14/compiler-rt/armv7l.patch
··· 1 - diff -ur compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2 - --- compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake 2020-03-24 00:01:02.000000000 +0900 3 - +++ compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2020-05-10 03:42:00.883450706 +0900 4 - @@ -24,7 +24,7 @@ 5 - 6 - 7 - set(ARM64 aarch64) 8 - -set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k) 9 - +set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k armv7l) 10 - set(HEXAGON hexagon) 11 - set(X86 i386) 12 - set(X86_64 x86_64) 13 - diff -ur compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 14 - --- compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt 2020-03-24 00:01:02.000000000 +0900 15 - +++ compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 2020-05-10 03:44:49.468579650 +0900 16 - @@ -474,6 +474,7 @@ 17 - set(armv7_SOURCES ${arm_SOURCES}) 18 - set(armv7s_SOURCES ${arm_SOURCES}) 19 - set(armv7k_SOURCES ${arm_SOURCES}) 20 - +set(armv7l_SOURCES ${arm_SOURCES}) 21 - set(arm64_SOURCES ${aarch64_SOURCES}) 22 - 23 - # macho_embedded archs 24 - @@ -595,7 +596,7 @@ 25 - foreach (arch ${BUILTIN_SUPPORTED_ARCH}) 26 - if (CAN_TARGET_${arch}) 27 - # For ARM archs, exclude any VFP builtins if VFP is not supported 28 - - if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em)$") 29 - + if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7l|armv7m|armv7em)$") 30 - string(REPLACE ";" " " _TARGET_${arch}_CFLAGS "${TARGET_${arch}_CFLAGS}") 31 - check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_${arch}_CFLAGS}" COMPILER_RT_HAS_${arch}_VFP) 32 - if(NOT COMPILER_RT_HAS_${arch}_VFP)
+1 -2
pkgs/development/compilers/llvm/14/compiler-rt/default.nix
··· 73 73 # extra `/`. 74 74 ./normalize-var.patch 75 75 ] # Prevent a compilation error on darwin 76 - ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin-targetconditionals.patch 77 - ++ lib.optional stdenv.hostPlatform.isAarch32 ./armv7l.patch; 76 + ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin-targetconditionals.patch; 78 77 79 78 # TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks 80 79 # to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra