mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-20 12:06:33 +00:00
update-binfmts enable command might fail on autopkgtests due to /proc missing some bits. Ignore the results for now
This commit is contained in:
parent
4b61e92a4a
commit
1a78b82ac7
2
debian/qualify-clang.sh
vendored
2
debian/qualify-clang.sh
vendored
@ -295,7 +295,7 @@ clang-$VERSION -O3 -emit-llvm foo.c -c -o foo.bc
|
|||||||
chmod +x foo.bc
|
chmod +x foo.bc
|
||||||
# only run if the binfmt is installed correctly
|
# only run if the binfmt is installed correctly
|
||||||
if /usr/sbin/update-binfmts --display llvm-$VERSION-runtime.binfmt &> /dev/null; then
|
if /usr/sbin/update-binfmts --display llvm-$VERSION-runtime.binfmt &> /dev/null; then
|
||||||
/usr/sbin/update-binfmts --enable llvm-$VERSION-runtime.binfmt
|
/usr/sbin/update-binfmts --enable llvm-$VERSION-runtime.binfmt || true
|
||||||
if ! ./foo.bc|grep -q "lli foo"; then
|
if ! ./foo.bc|grep -q "lli foo"; then
|
||||||
echo "executing ./foo.bc failed"
|
echo "executing ./foo.bc failed"
|
||||||
./foo.bc || true
|
./foo.bc || true
|
||||||
|
Loading…
Reference in New Issue
Block a user