This repository was archived by the owner on Apr 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ GIT_COMMIT_SHA="$(git rev-parse --short HEAD)"
25
25
# Build
26
26
cd " $ROOT_DIR "
27
27
echo " [Building image: $IMAGE_NAME ]"
28
- docker build -f Bundled_Ubuntu1804.Dockerfile -t " $IMAGE_NAME " .
28
+ docker build -f Bundled_Ubuntu1804.Dockerfile -t " $IMAGE_NAME " . --platform linux/amd64
29
29
30
30
# Start a container with the image
31
31
echo " [Starting temporary container: $CONTAINER_NAME ]"
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ OUTPUT="$2"
22
22
# 2. The system libraries maintained backwards compatibility.
23
23
# (It seems OK to roll with this assumption. We've manually
24
24
# verified it for Ubuntu 18.04 -> Ubuntu 20.04)
25
- for LIB in $( ldd " $BINARY " | cut -d " >" -f 2 | awk ' {print $1}' | grep -vE " (linux-vdso\.|ld-linux-x86-64\.|libc\.|librt\.|libpthread\.)" ) ; do
25
+ DYN_LIBS=" $( ldd " $BINARY " ) "
26
+ echo " Dynamic libraries linked by lsif-clang:"
27
+ echo " $DYN_LIBS "
28
+ for LIB in $( echo " $DYN_LIBS " | cut -d " >" -f 2 | awk ' {print $1}' | grep -vE " (linux-vdso\.|ld-linux-x86-64\.|libc\.|librt\.|libpthread\.)" ) ; do
26
29
cp --verbose " $LIB " " $OUTPUT /"
27
30
done
You can’t perform that action at this time.
0 commit comments