mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-11-02 20:06:37 +00:00
Fix testsuite by enabling binfmt configuration magic before using it
This commit is contained in:
parent
f025de6231
commit
5cc24c5818
1
debian/qualify-clang.sh
vendored
1
debian/qualify-clang.sh
vendored
@ -296,6 +296,7 @@ chmod +x foo.bc
|
||||
# only run if the binfmt is installed correctly
|
||||
/usr/sbin/update-binfmts --display llvm-$VERSION-runtime.binfmt &> foo.log || true
|
||||
if grep -q "interpreter = /usr/bin/lli-" foo.log; then
|
||||
/usr/sbin/update-binfmts --enable llvm-$VERSION-runtime.binfmt
|
||||
if ! ./foo.bc|grep -q "lli foo"; then
|
||||
echo "executing ./foo.bc failed"
|
||||
./foo.bc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user