Created
January 11, 2023 23:36
-
-
Save stellarpower/4fde7fa21480acef40549d0b07a2e66a to your computer and use it in GitHub Desktop.
OpenVibe Earthfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From: https://gist.github.com/jfrey-xx/ed0a8d5d881a7a5734064e6ad89beccd | |
VERSION --use-cache-command 0.6 | |
build: | |
# FROM custom:focal | |
# I originally used a custom image here, with compilers installed. | |
# Using stock ubuntu may have some steps missing, but it should be easy to add (e.g. standard buildtools) | |
# FROM ubuntu:focal | |
WORKDIR /build | |
COPY openvibe-3.2.0_compile-ubuntu-20.04.patch . | |
RUN apt update | |
RUN apt install --yes cmake | |
RUN wget --quiet 'http://openvibe.inria.fr/pub/src/openvibe-3.2.0-src.tar.xz' | |
RUN tar xvf openvibe-3.2.0-src.tar.xz | |
RUN patch -p0 < openvibe-3.2.0_compile-ubuntu-20.04.patch | |
WORKDIR /build/openvibe-3.2.0-src | |
RUN ls | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN yes | ./install_dependencies.sh | |
RUN ./build.sh | |
SAVE ARTIFACT dist/Release/ AS LOCAL built | |
# TODO - will need to manage RPath etc. | |
# For now, LD_LIBRARY_PATH will do to run it. | |
TODO: try making an AppImage using this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Happy to upload built binaries should the be of use, if anyone can suggest a suitable public place I can upload the tarball.