Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and install packages required by rutabaga_gfx #107

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion build_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y \
libssl-dev tzdata cmake g++ pkg-config jq libcurl4-openssl-dev libelf-dev \
libdw-dev binutils-dev libiberty-dev make \
cpio bc flex bison wget xz-utils fakeroot \
cmake cmake-data \
build-essential libjsoncpp25 librhash0 make \
autoconf autoconf-archive automake libtool \
libclang-dev iproute2 \
libasound2 libasound2-dev \
libepoxy0 libepoxy-dev \
libdrm2 libdrm-dev \
libglm-dev libstb-dev libc6-dev \
libvirglrenderer-dev libvirglrenderer1 \
debhelper-compat libdbus-1-dev libglib2.0-dev meson ninja-build dbus

# cleanup
Expand Down Expand Up @@ -51,8 +56,25 @@ rustup target add $ARCH-unknown-linux-musl $ARCH-unknown-none

cargo install cargo-llvm-cov

# Install libgpiod and libpipewire (required by vhost-device crate)
# Install aemu, gfxstream, libgpiod and libpipewire (required by vhost-device crate)
pushd /opt
git clone https://android.googlesource.com/platform/hardware/google/aemu
pushd aemu
git checkout v0.1.2-aemu-release
cmake -DAEMU_COMMON_GEN_PKGCONFIG=ON \
-DAEMU_COMMON_BUILD_CONFIG=gfxstream \
-DENABLE_VKCEREAL_TESTS=OFF -B build
cmake --build build -j
cmake --install build
popd
rm -rf aemu
git clone https://android.googlesource.com/platform/hardware/google/gfxstream
pushd gfxstream
git checkout v0.1.2-gfxstream-release
meson setup host-build/
meson install -C host-build/
popd
rm -rf gfxstream
git clone --depth 1 --branch v2.0 https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
pushd libgpiod
./autogen.sh --prefix=/usr && make && make install
Expand Down
Loading