FROM archlinux:base-20240101.0.204074
RUN pacman -Sy
RUN pacman -S --noconfirm \
git \
base-devel \
cmake \
alsa-utils \
webkit2gtk \
glew \
python \
pybind11
RUN git clone https://github.com/christofmuc/KnobKraft-orm.git
WORKDIR /KnobKraft-orm
RUN git submodule update --recursive --init --depth 1
RUN cmake -D CMAKE_INTERPROCEDURAL_OPTIMIZATION=off -S . -B builds
# "-j15" means use 15 cores when compiling. Adjust it to your own architecture
RUN cmake --build builds -- -j15
Run it like this and copy the binaries to your local ~/bin
This was documented by @fractalf in issue #312 , breaking it out to track status separately:
Arch linux builds (docker setup)
I'm on EndeavourOS (based on Arch Linux) and the binary you provide from your build pipeline didn't work for me due to some error on libicuuc.so
..so I made a docker setup to build it for Arch Linux and thought I'd share it here if you or anyone else is interested.
docker-compose.yml
Dockerfile-arch
Run it like this and copy the binaries to your local
~/bin