mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-28 13:12:34 +00:00
fix script
This commit is contained in:
parent
b89d956064
commit
c99fd9dcf3
10
debian/qualify-clang.sh
vendored
10
debian/qualify-clang.sh
vendored
@ -1333,16 +1333,6 @@ if grep "LLVM IR bitcode" foo.log; then
|
||||
echo "Should be elf"
|
||||
exit -2
|
||||
fi
|
||||
echo "
|
||||
from ctypes import *
|
||||
libclang="/usr/lib/llvm-$VERSION/lib/libclang-$VERSION.so.1"
|
||||
lib = CDLL(libclang)
|
||||
fun = lib.clang_getAddressSpace
|
||||
print(fun)
|
||||
" > foo.py
|
||||
python3 foo.py|grep _FuncPtr
|
||||
rm foo.py
|
||||
|
||||
echo "
|
||||
from ctypes import *
|
||||
libclang='/usr/lib/llvm-$VERSION/lib/libclang-$VERSION.so.1'
|
||||
|
Loading…
Reference in New Issue
Block a user