mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-07 09:39:14 +00:00
Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
Changes-By: lintian-brush Fixes: lintian: uses-deprecated-adttmp See-also: https://lintian.debian.org/tags/uses-deprecated-adttmp.html
This commit is contained in:
parent
061c89e00f
commit
248fa4019e
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,8 +1,12 @@
|
|||||||
llvm-toolchain-10 (1:10.0.1-7) UNRELEASED; urgency=medium
|
llvm-toolchain-10 (1:10.0.1-7) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Samuel Thibault ]
|
||||||
* debian/patches/hurd/hurd-cxx-paths.diff: Add missing GCC installation
|
* debian/patches/hurd/hurd-cxx-paths.diff: Add missing GCC installation
|
||||||
initialization.
|
initialization.
|
||||||
|
|
||||||
|
[ Sylvestre Ledru ]
|
||||||
|
* Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
|
||||||
|
|
||||||
-- Samuel Thibault <sthibault@debian.org> Thu, 27 Aug 2020 17:06:44 +0200
|
-- Samuel Thibault <sthibault@debian.org> Thu, 27 Aug 2020 17:06:44 +0200
|
||||||
|
|
||||||
llvm-toolchain-10 (1:10.0.1-6) unstable; urgency=medium
|
llvm-toolchain-10 (1:10.0.1-6) unstable; urgency=medium
|
||||||
|
8
debian/tests/cmake-test
vendored
8
debian/tests/cmake-test
vendored
@ -3,18 +3,18 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# this is taken from libjsoncpp package
|
# this is taken from libjsoncpp package
|
||||||
# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
|
# Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we
|
||||||
# can avoid duplicating the effort (signal handling, etc.) here.
|
# can avoid duplicating the effort (signal handling, etc.) here.
|
||||||
if [ -z "$ADTTMP" ]
|
if [ -z "$AUTOPKGTEST_TMP" ]
|
||||||
then
|
then
|
||||||
echo "Required envvar ADTTMP \"$ADTTMP\" is not set" >&2
|
echo "Required envvar AUTOPKGTEST_TMP \"$AUTOPKGTEST_TMP\" is not set" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# the idea was taken from spirv-llvm-translator package
|
# the idea was taken from spirv-llvm-translator package
|
||||||
|
|
||||||
cd "$ADTTMP"
|
cd "$AUTOPKGTEST_TMP"
|
||||||
cat <<EOF > CMakeLists.txt
|
cat <<EOF > CMakeLists.txt
|
||||||
cmake_minimum_required(VERSION 2.6.2)
|
cmake_minimum_required(VERSION 2.6.2)
|
||||||
project(cmake-test)
|
project(cmake-test)
|
||||||
|
10
debian/tests/integration-test-suite-test
vendored
10
debian/tests/integration-test-suite-test
vendored
@ -5,17 +5,17 @@ set -e
|
|||||||
LLVM_VERSION=10
|
LLVM_VERSION=10
|
||||||
|
|
||||||
# this is taken from libjsoncpp package
|
# this is taken from libjsoncpp package
|
||||||
# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
|
# Presence of $AUTOPKGTEST_TMP implies that someone will handle cleanup for us, so we
|
||||||
# can avoid duplicating the effort (signal handling, etc.) here.
|
# can avoid duplicating the effort (signal handling, etc.) here.
|
||||||
if [ -z "$ADTTMP" ]
|
if [ -z "$AUTOPKGTEST_TMP" ]
|
||||||
then
|
then
|
||||||
echo "Required envvar ADTTMP \"$ADTTMP\" is not set" >&2
|
echo "Required envvar AUTOPKGTEST_TMP \"$AUTOPKGTEST_TMP\" is not set" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy the integration repo to the temp dir
|
# Copy the integration repo to the temp dir
|
||||||
cp -Rv integration-test-suite/* "$ADTTMP"/
|
cp -Rv integration-test-suite/* "$AUTOPKGTEST_TMP"/
|
||||||
cd "$ADTTMP"
|
cd "$AUTOPKGTEST_TMP"
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
Loading…
Reference in New Issue
Block a user