From: Peter Michael Green Date: Thu, 6 Jul 2017 21:25:21 +0000 (+0000) Subject: Remove old cmake-arm-version-hack.patch. dgit will regenerate it. X-Git-Tag: archive/raspbian/1%4.0.1-1+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=67c335abb78deb53de96a26ff0f0f5ac8ffaabde;p=llvm-toolchain-4.0.git Remove old cmake-arm-version-hack.patch. dgit will regenerate it. --- diff --git a/debian/patches/cmake-arm-version-hack.patch b/debian/patches/cmake-arm-version-hack.patch deleted file mode 100644 index cf2392425..000000000 --- a/debian/patches/cmake-arm-version-hack.patch +++ /dev/null @@ -1,41 +0,0 @@ -Description: Add a hack to the cmake based build to force armv6 - unfortunately the cmake based build relies on config.guess - (and gives no way to override it) and config.guess assumes you want - to build for the hardware you are running on). -Author: Peter Michael Green - -Index: llvm-toolchain-3.9-3.9.new/cmake/modules/GetHostTriple.cmake -=================================================================== ---- llvm-toolchain-3.9-3.9.new.orig/cmake/modules/GetHostTriple.cmake -+++ llvm-toolchain-3.9-3.9.new/cmake/modules/GetHostTriple.cmake -@@ -15,7 +15,7 @@ function( get_host_triple var ) - set( value "i686-pc-mingw32" ) - endif() - else( MSVC ) -- set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/config.guess) -+ set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/config.guess.hack) - execute_process(COMMAND sh ${config_guess} - RESULT_VARIABLE TT_RV - OUTPUT_VARIABLE TT_OUT -Index: llvm-toolchain-3.9-3.9.new/cmake/config.guess.hack -=================================================================== ---- /dev/null -+++ llvm-toolchain-3.9-3.9.new/cmake/config.guess.hack -@@ -0,0 +1,2 @@ -+#!/bin/bash -e -+$(dirname "$0")/config.guess | sed -r s/arm[a-zA-Z0-9]*/armv6/ -Index: llvm-toolchain-3.9-3.9.new/compiler-rt/cmake/base-config-ix.cmake -=================================================================== ---- llvm-toolchain-3.9-3.9.new.orig/compiler-rt/cmake/base-config-ix.cmake -+++ llvm-toolchain-3.9-3.9.new/compiler-rt/cmake/base-config-ix.cmake -@@ -153,8 +153,8 @@ macro(test_targets) - test_target_arch(mips "" "-mips32r2" "--target=mips-linux-gnu") - test_target_arch(mips64 "" "-mips64r2" "--target=mips64-linux-gnu" "-mabi=64") - elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "arm") -- test_target_arch(arm "" "-march=armv7-a" "-mfloat-abi=soft") -- test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard") -+ test_target_arch(arm "" "" "-mfloat-abi=soft") -+ test_target_arch(armhf "" "" "-mfloat-abi=hard") - elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch32") - test_target_arch(aarch32 "" "-march=armv8-a") - elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "aarch64") diff --git a/debian/patches/series b/debian/patches/series index 18a3abef5..0af13e9ed 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -46,4 +46,3 @@ silent-test-failing-codeverage.diff silent-amdgpu-test-failing.diff pthread-link.diff add_symbols_versioning.patch -cmake-arm-version-hack.patch