mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-25 05:37:55 +00:00

* Include upstream patch D60657 for rust support on riscv64. * New stable release * Team upload. * Commit Breaks/Replaces into git * Fix llvm-9-tools Breaks/Replaces libclang-common-9-dev (<< 1:9.0.1~+rc2) (Closes: #946473) * New snapshot release + upload to unstable * Use secure URI in debian/watch. * Move source package lintian overrides to debian/source. * Remove patches force-gcc-header-obj.diff, hurd-pathmax.diff, impl- path-hurd.diff, libcxxabi-arm-ehabi-fix.patch, libcxxabi-test-don-t- fail-extended-long-double.patch, revert-change-soname.diff, try-to- unbreak-thinlto.diff that are missing from debian/patches/series. * Rely on pre-initialized dpkg-architecture variables. * Move transitional package libclang-cpp1-9 to oldlibs/optional per policy 4.0.1. * llvm-riscv64-fix-cffi.diff: backport patch to fix CFI directives on riscv64 from master. * New snapshot release * Fix some paths, upstream moved from site-packages to dist-packages for python packages * Move yaml-bench from libclang-common-X.Y-dev to llvm-X.Y-tools where it belongs See http://lists.llvm.org/pipermail/llvm-dev/2019-December/137337.html * Add a project in the cmake-test to silent a warning (Closes: #945489) * New snapshot release * Patch cmake files to disable the z3 support in Ubuntu * Simplify rules file to put -g1 everywhere * Add a project in the cmake-test to silent a warning (Closes: #945489)
38 lines
647 B
Bash
Executable File
38 lines
647 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# this is taken from libjsoncpp package
|
|
# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
|
|
# can avoid duplicating the effort (signal handling, etc.) here.
|
|
if [ -z "$ADTTMP" ]
|
|
then
|
|
echo "Required envvar ADTTMP \"$ADTTMP\" is not set" >&2
|
|
exit 1
|
|
fi
|
|
|
|
|
|
# the idea was taken from spirv-llvm-translator package
|
|
|
|
cd "$ADTTMP"
|
|
cat <<EOF > CMakeLists.txt
|
|
cmake_minimum_required(VERSION 2.6.2)
|
|
project(cmake-test)
|
|
find_package(LLVM 10.0.0 REQUIRED
|
|
COMPONENTS
|
|
Analysis
|
|
BitReader
|
|
BitWriter
|
|
Core
|
|
Support
|
|
TransformUtils
|
|
llvm-as
|
|
llvm-dis
|
|
)
|
|
|
|
EOF
|
|
|
|
|
|
mkdir build && cd build
|
|
cmake ..
|