forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·25 lines (21 loc) · 805 Bytes
/
install.sh
File metadata and controls
executable file
·25 lines (21 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
set -ex
# skip build targets: libvulkan1 libvulkan-dev vulkan-tools
apt-get update
apt-get install -y --no-install-recommends \
libglm-dev libxcb-dri3-0 libxcb-present0 libpciaccess0 \
libpng-dev libxcb-keysyms1-dev libxcb-dri3-dev libx11-dev \
libwayland-dev libxrandr-dev libxcb-randr0-dev libxcb-ewmh-dev \
python-is-python3 bison libx11-xcb-dev liblz4-dev libzstd-dev \
ocaml-core ninja-build pkg-config libxml2-dev wayland-protocols \
qtbase5-dev qt6-base-dev python3-jsonschema
bash /tmp/cmake/install.sh # restore cmake
rm -rf /var/lib/apt/lists/*
apt-get clean
if [ "$FORCE_BUILD" == "on" ]; then
echo "Forcing build of Vulkan SDK $VULKAN_VERSION"
exit 1
fi
tarpack install vulkan-sdk-$VULKAN_VERSION
echo "installed" > "$TMP/.vulkan"
ldconfig