FROM ubuntu:24.04 AS build1 | FROM ubuntu:24.04 AS build1 | ||||
MAINTAINER Ray Burgemeestre | |||||
LABEL maintainer="Ray Burgemeestre <ray@cppse.nl>" | |||||
ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||
RUN chmod +x /usr/local/bin/switch-to-latest-gcc | RUN chmod +x /usr/local/bin/switch-to-latest-gcc | ||||
RUN apt clean | RUN apt clean | ||||
# DEBUG | |||||
# RUN ls -alh /emsdk/upstream/emscripten/cache/ports/harfbuzz/harfbuzz-3.2.0 | |||||
# RUN chown -R root:root /emsdk | |||||
# RUN ls -alh /emsdk/upstream/emscripten/cache/ports/harfbuzz/harfbuzz-3.2.0 | |||||
FROM scratch | FROM scratch | ||||
COPY --from=build1 / / | COPY --from=build1 / / |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
build: | |||||
# Screw gocd, let's go with a simple build script for now | |||||
# for dir in */; do \ | |||||
# if [ -f "$$dir/Makefile" ]; then \ | |||||
# make -C $$dir build; \ | |||||
# fi \ | |||||
# done | |||||
make -C allegro5 build | |||||
make -C boost build | |||||
# no longer used | |||||
# make -C benchmarklib build | |||||
make -C caf build | |||||
# skipping | |||||
# make -C crtmpserver build | |||||
# make -C opentelemetry-cpp build | |||||
make -C fastpfor build | |||||
make -C ffmpeg build | |||||
make -C fmt build | |||||
make -C openexr build | |||||
make -C imagemagick build | |||||
make -C inotify-cpp build | |||||
make -C png++ build | |||||
make -C redis-plus-plus build | |||||
make -C seasocks build | |||||
make -C sfml build | |||||
make -C tvision build | |||||
make -C v8pp build | |||||
make -C vivid build | |||||
ubuntu1804: | ubuntu1804: | ||||
docker build . -f Dockerfile-ubuntu1804 -t rayburgemeestre/build-ubuntu:18.04 | docker build . -f Dockerfile-ubuntu1804 -t rayburgemeestre/build-ubuntu:18.04 | ||||
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=5.2.5.0 | |||||
build: cppse-allegro5_$(VERSION)_amd64.deb | |||||
cppse-allegro5_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
git clone https://github.com/liballeg/allegro5.git | git clone https://github.com/liballeg/allegro5.git | ||||
pushd allegro5 && git checkout 5.2.5.0 | pushd allegro5 && git checkout 5.2.5.0 | ||||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | ||||
ubuntu2404: | ubuntu2404: | ||||
git clone https://github.com/liballeg/allegro5.git | |||||
pushd allegro5 && git checkout 5.2.5.0 | |||||
git clone https://github.com/liballeg/allegro5.git || true | |||||
pushd allegro5 && git checkout $(VERSION) | |||||
bash ../ubuntu2404.sh make impl | bash ../ubuntu2404.sh make impl | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
bash ../ubuntu2404.sh make impl_sdl | bash ../ubuntu2404.sh make impl_sdl | ||||
cp -prv allegro5/include/allegro5/internal/* out/opt/cppse/build/allegro5/include/allegro5/internal/ | cp -prv allegro5/include/allegro5/internal/* out/opt/cppse/build/allegro5/include/allegro5/internal/ | ||||
# somewhere also platform became needed, let's pull those in as well | # somewhere also platform became needed, let's pull those in as well | ||||
cp -prv allegro5/include/allegro5/platform/* out/opt/cppse/build/allegro5/include/allegro5/platform/ | cp -prv allegro5/include/allegro5/platform/* out/opt/cppse/build/allegro5/include/allegro5/platform/ | ||||
rm -rf allegro5_*_amd64.deb | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n allegro5 --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||||
rm -rf cppse-allegro5_*_amd64.deb | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-allegro5 --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||||
package_sdl-ubuntu2004: | package_sdl-ubuntu2004: | ||||
rm -rf out | rm -rf out | ||||
cp -prv allegro5/include/allegro5/internal/* out/opt/cppse/build/allegro5sdl/include/allegro5/internal/ | cp -prv allegro5/include/allegro5/internal/* out/opt/cppse/build/allegro5sdl/include/allegro5/internal/ | ||||
cp -prv allegro5/include/allegro5/platform/* out/opt/cppse/build/allegro5sdl/include/allegro5/platform/ | cp -prv allegro5/include/allegro5/platform/* out/opt/cppse/build/allegro5sdl/include/allegro5/platform/ | ||||
rm -rf allegro5sdl_*_amd64.deb | rm -rf allegro5sdl_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:22.04 fpm -v 1.1.1 -s dir -t deb -n allegro5sdl --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - SDL version - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:22.04 fpm -v 1 -s dir -t deb -n allegro5sdl --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "allegro5 - SDL version - build dependency" --url "https://github.com/liballeg/allegro5.git" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf allegro5 | rm -rf allegro5 | ||||
rm -rf out | rm -rf out | ||||
rm -rf allegro5*.deb | rm -rf allegro5*.deb | ||||
rm -rf allegro5*.changes | rm -rf allegro5*.changes | ||||
rm -rf cppse-allegro5*.deb | |||||
shell: | shell: | ||||
FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash | FLAGS="-i --privileged" bash ../ubuntu1804.sh /bin/bash |
FROM ubuntu:24.04 | FROM ubuntu:24.04 | ||||
MAINTAINER Ray Burgemeestre | |||||
LABEL maintainer="Ray Burgemeestre <ray@cppse.nl>" | |||||
ARG DEBIAN_FRONTEND=noninteractive | ARG DEBIAN_FRONTEND=noninteractive | ||||
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
build: | |||||
echo TODO | |||||
apt-ubuntu1804: | apt-ubuntu1804: | ||||
wget $$SECRET_URL 1>/dev/null 2>/dev/null | wget $$SECRET_URL 1>/dev/null 2>/dev/null | ||||
tar -zxvf *secret.tar.gz | tar -zxvf *secret.tar.gz |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
benchmarklib: | |||||
git clone https://bitbucket.org/rayburgemeestre/benchmarklib | |||||
VERSION:=1.0 | |||||
build: cppse-benchmarklib_$(VERSION)_amd64.deb | |||||
cppse-benchmarklib_$(VERSION)_amd64.deb: | |||||
make benchmarklib_ | |||||
benchmarklib_: | |||||
git clone https://bitbucket.org/rayburgemeestre/benchmarklib || true | |||||
pushd benchmarklib && git checkout master | pushd benchmarklib && git checkout master | ||||
bash ../ubuntu1804.sh make impl | |||||
bash ../ubuntu2404.sh make impl | |||||
make package | make package | ||||
impl: | impl: | ||||
switch-to-latest-clang | switch-to-latest-clang | ||||
# TODO install boost from apt repo | # TODO install boost from apt repo | ||||
# if [[ -f CMakeCache.txt ]]; then rm CMakeCache.txt; fi | # if [[ -f CMakeCache.txt ]]; then rm CMakeCache.txt; fi | ||||
dpkg -i boost/pkg/*.deb | |||||
dpkg -i ../boost/cppse-boost_*_amd64.deb | |||||
pushd benchmarklib && \ | pushd benchmarklib && \ | ||||
CXX=$$(which c++) cmake -DSTATIC=1 -DBOOST_ROOT=/opt/cppse/build/boost -DCMAKE_INSTALL_PREFIX=$$PWD/benchmarklib_out -DNO_AUTO_USE_LIBCPP_CLANG=1 . && \ | CXX=$$(which c++) cmake -DSTATIC=1 -DBOOST_ROOT=/opt/cppse/build/boost -DCMAKE_INSTALL_PREFIX=$$PWD/benchmarklib_out -DNO_AUTO_USE_LIBCPP_CLANG=1 . && \ | ||||
make -j $$(nproc) && \ | make -j $$(nproc) && \ | ||||
mkdir -p out/opt/cppse/build/benchmarklib | mkdir -p out/opt/cppse/build/benchmarklib | ||||
cp -prv ./benchmarklib/benchmarklib_out/* out/opt/cppse/build/benchmarklib/ | cp -prv ./benchmarklib/benchmarklib_out/* out/opt/cppse/build/benchmarklib/ | ||||
rm -rf benchmarklib_*_amd64.deb | rm -rf benchmarklib_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -v 1.1 -s dir -t deb -n benchmarklib --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "benchmarklib - build dependency" --url "https://bitbucket.org/rayburgemeestre/benchmarklib" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:18.04 fpm -v $(VERSION) -s dir -t deb -n cppse-benchmarklib --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "benchmarklib - build dependency" --url "https://bitbucket.org/rayburgemeestre/benchmarklib" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf benchmarklib | rm -rf benchmarklib |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=1.86.0 | |||||
build: cppse-boost_$(VERSION)_amd64.deb | |||||
cppse-boost_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
# below URL is unreliable | # below URL is unreliable | ||||
# wget "https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2" | # wget "https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2" | ||||
cp -L -prv boost/stage/lib out/opt/cppse/build/boost/ | cp -L -prv boost/stage/lib out/opt/cppse/build/boost/ | ||||
cp -L -prv boost/boost out/opt/cppse/build/boost/include/ | cp -L -prv boost/boost out/opt/cppse/build/boost/include/ | ||||
rm -rf boost_*_amd64.deb | rm -rf boost_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n boost --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "boost - build dependency" --url "https://github.com/liballeg/boost.git" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-boost --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "boost - build dependency" --url "https://github.com/liballeg/boost.git" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf boost | rm -rf boost |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=1.0.2 | |||||
build: cppse-caf_$(VERSION)_amd64.deb | |||||
cppse-caf_$(VERSION)_amd64.deb: | |||||
make caf | |||||
caf: | caf: | ||||
git clone https://github.com/actor-framework/actor-framework | |||||
pushd actor-framework && git checkout 6bbe993f315eaa7c8264bc9ae240766b05e64513 # master at the time of writing | |||||
bash ../ubuntu1804.sh make impl | |||||
git clone https://github.com/actor-framework/actor-framework || true | |||||
pushd actor-framework && git checkout 1.0.2 | |||||
bash ../ubuntu2404.sh make impl | |||||
make package | make package | ||||
impl: | impl: | ||||
mkdir -p out/opt/cppse/build/caf | mkdir -p out/opt/cppse/build/caf | ||||
cp -prv actor-framework/build/caf_out/* out/opt/cppse/build/caf/ | cp -prv actor-framework/build/caf_out/* out/opt/cppse/build/caf/ | ||||
# workaround for https://groups.google.com/forum/#!topic/actor-framework/xOmdVFRD7lc | # workaround for https://groups.google.com/forum/#!topic/actor-framework/xOmdVFRD7lc | ||||
cp -prv actor-framework/build/caf/detail/build_config.hpp out/opt/cppse/build/caf/include/caf/detail/ | |||||
# cp -prv actor-framework/build/caf/detail/build_config.hpp out/opt/cppse/build/caf/include/caf/detail/ | |||||
rm -rf caf_*_amd64.deb | rm -rf caf_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n caf --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "caf - build dependency" --url "https://github.com/liballeg/caf.git" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-caf --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "caf - build dependency" --url "https://github.com/liballeg/caf.git" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf actor-framework | rm -rf actor-framework |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=0.1.7 | |||||
build: cppse-fastpfor_$(VERSION)_amd64.deb | |||||
cppse-fastpfor_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
#git clone https://github.com/lemire/FastPFor | #git clone https://github.com/lemire/FastPFor | ||||
git clone https://github.com/rayburgemeestre/FastPFor | git clone https://github.com/rayburgemeestre/FastPFor | ||||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | ||||
ubuntu2404: | ubuntu2404: | ||||
git clone https://github.com/rayburgemeestre/FastPFor | |||||
git clone https://github.com/rayburgemeestre/FastPFor || true | |||||
pushd FastPFor && git checkout change-google-test-branch # master at the time of writing | pushd FastPFor && git checkout change-google-test-branch # master at the time of writing | ||||
bash ../ubuntu2404.sh make impl | bash ../ubuntu2404.sh make impl | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
cp -prv ./FastPFor/libFastPFOR.a out/opt/cppse/build/fastpfor/lib/ | cp -prv ./FastPFor/libFastPFOR.a out/opt/cppse/build/fastpfor/lib/ | ||||
cp -prv ./FastPFor/headers out/opt/cppse/build/fastpfor/include/ | cp -prv ./FastPFor/headers out/opt/cppse/build/fastpfor/include/ | ||||
rm -rf fastpfor_*_amd64.deb | rm -rf fastpfor_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n fastpfor --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fastpfor - build dependency" --url "https://github.com/rayburgemeestre/FastPFor" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-fastpfor --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fastpfor - build dependency" --url "https://github.com/rayburgemeestre/FastPFor" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf FastPFor | rm -rf FastPFor |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=7.1 | |||||
build: cppse-ffmpeg_$(VERSION)_amd64.deb | |||||
cppse-ffmpeg_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
# sometimes got 404 on videolan/x264 | # sometimes got 404 on videolan/x264 | ||||
#git clone https://code.videolan.org/videolan/x264 | #git clone https://code.videolan.org/videolan/x264 | ||||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | ||||
ubuntu2404: | ubuntu2404: | ||||
git clone -b stable https://code.videolan.org/videolan/x264 | |||||
git clone -b n7.1 https://github.com/FFmpeg/FFmpeg ffmpeg | |||||
git clone -b stable https://code.videolan.org/videolan/x264 || true | |||||
git clone -b n$(VERSION) https://github.com/FFmpeg/FFmpeg ffmpeg || true | |||||
bash ../ubuntu2404.sh make ffmpeg_impl | bash ../ubuntu2404.sh make ffmpeg_impl | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
cp -prv ./x264_out/* out/opt/cppse/build/x264/ | cp -prv ./x264_out/* out/opt/cppse/build/x264/ | ||||
cp -prv ./ffmpeg_out/* out/opt/cppse/build/ffmpeg/ | cp -prv ./ffmpeg_out/* out/opt/cppse/build/ffmpeg/ | ||||
rm -rf cppseffmpeg_*_amd64.deb | rm -rf cppseffmpeg_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppseffmpeg --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "ffmpeg - build dependency" --url "https://gitea.cppse.nl/rayburgemeestre/build-config/src/branch/master/ffmpeg" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-ffmpeg --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "ffmpeg - build dependency" --url "https://gitea.cppse.nl/rayburgemeestre/build-config/src/branch/master/ffmpeg" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf x264 | rm -rf x264 |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=7.1.3 | |||||
build: cppse-fmt_$(VERSION)_amd64.deb | |||||
cppse-fmt_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2004: | ubuntu2004: | ||||
git clone https://github.com/rayburgemeestre/fmt --branch 7.1.3 | git clone https://github.com/rayburgemeestre/fmt --branch 7.1.3 | ||||
bash ../ubuntu2004.sh make impl | bash ../ubuntu2004.sh make impl | ||||
cp -prv fmt/build/fmt_out/* out/opt/cppse/build/fmt/ | cp -prv fmt/build/fmt_out/* out/opt/cppse/build/fmt/ | ||||
cp -prv fmt/build2/fmt_out/lib/libfmt.a out/opt/cppse/build/fmt/lib/libfmt-em.a | cp -prv fmt/build2/fmt_out/lib/libfmt.a out/opt/cppse/build/fmt/lib/libfmt-em.a | ||||
rm -rf fmt_*_amd64.deb | rm -rf fmt_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n fmt --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fmt - build dependency" --url "https://github.com/mattgodbolt/fmt" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-fmt --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "fmt - build dependency" --url "https://github.com/mattgodbolt/fmt" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf fmt | rm -rf fmt |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=7.0.10-53 | |||||
build: cppse-imagemagick_$(VERSION)_amd64.deb | |||||
cppse-imagemagick_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2004: | ubuntu2004: | ||||
git clone --branch 7.0.10-53 https://github.com/ImageMagick/ImageMagick || true | git clone --branch 7.0.10-53 https://github.com/ImageMagick/ImageMagick || true | ||||
bash ../ubuntu2004.sh make impl | bash ../ubuntu2004.sh make impl | ||||
switch-to-latest-clang | switch-to-latest-clang | ||||
apt-get update && apt-get install libz-dev autoconf -y && \ | apt-get update && apt-get install libz-dev autoconf -y && \ | ||||
apt-get install -y libpng-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libtiff-dev libtiff5-dev libtiffxx6 && \ | apt-get install -y libpng-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libtiff-dev libtiff5-dev libtiffxx6 && \ | ||||
dpkg -i openexr/pkg/*.deb && \ | |||||
dpkg -i ../openexr/cppse-openexr_*.deb && \ | |||||
pushd ImageMagick && \ | pushd ImageMagick && \ | ||||
autoconf && \ | autoconf && \ | ||||
PKG_CONFIG_PATH=/opt/cppse/build//openexr/lib/pkgconfig ./configure CC=$$(which cc) CXX=$$(which c++) --with-pkgconfigdir=/opt/cppse/build/openexr/lib/pkgconfig CFLAGS="-I/opt/cppse/build/openexr/include/OpenEXR" LDFLAGS="-L/opt/cppse/build/openexr/lib/" --with-openexr=yes --enable-hdri --with-tiff=yes --with-jpeg=yes --with-openexr=yes --with-png=yes --with-tiff=yes --enable-shared=no --enable-static=yes --prefix=$$PWD/imagemagick_out && \ | PKG_CONFIG_PATH=/opt/cppse/build//openexr/lib/pkgconfig ./configure CC=$$(which cc) CXX=$$(which c++) --with-pkgconfigdir=/opt/cppse/build/openexr/lib/pkgconfig CFLAGS="-I/opt/cppse/build/openexr/include/OpenEXR" LDFLAGS="-L/opt/cppse/build/openexr/lib/" --with-openexr=yes --enable-hdri --with-tiff=yes --with-jpeg=yes --with-openexr=yes --with-png=yes --with-tiff=yes --enable-shared=no --enable-static=yes --prefix=$$PWD/imagemagick_out && \ | ||||
mkdir -p out/opt/cppse/build/imagemagick | mkdir -p out/opt/cppse/build/imagemagick | ||||
cp -prv ImageMagick/imagemagick_out/* out/opt/cppse/build/imagemagick/ | cp -prv ImageMagick/imagemagick_out/* out/opt/cppse/build/imagemagick/ | ||||
rm -rf cppseimagemagick_*_amd64.deb | rm -rf cppseimagemagick_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppseimagemagick --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "imagemagick - build dependency" --url "https://github.com/ImageMagick/ImageMagick" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-imagemagick --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "imagemagick - build dependency" --url "https://github.com/ImageMagick/ImageMagick" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf ImageMagick | rm -rf ImageMagick |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=1.0.0 | |||||
build: cppse-inotify-cpp_$(VERSION)_amd64.deb | |||||
cppse-inotify-cpp_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2004: | ubuntu2004: | ||||
# check out revision that is master at the time of writing | # check out revision that is master at the time of writing | ||||
git clone https://github.com/erikzenker/inotify-cpp || true | git clone https://github.com/erikzenker/inotify-cpp || true | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
impl: | impl: | ||||
dpkg -i boost/pkg/*.deb | |||||
dpkg -i ../boost/cppse-boost_*.deb | |||||
pushd inotify-cpp && \ | pushd inotify-cpp && \ | ||||
cmake -DCMAKE_INSTALL_PREFIX=$$PWD/../inotify-cpp_out -DBUILD_EXAMPLE=OFF -DBUILD_TEST=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DUSE_BOOST_FILESYSTEM=OFF -DBoost_USE_STATIC_LIBS=ON -DBOOST_ROOT="/opt/cppse/build/boost/" -DBoost_INCLUDE_DIR="/opt/cppse/build/boost/include" . && \ | cmake -DCMAKE_INSTALL_PREFIX=$$PWD/../inotify-cpp_out -DBUILD_EXAMPLE=OFF -DBUILD_TEST=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DUSE_BOOST_FILESYSTEM=OFF -DBoost_USE_STATIC_LIBS=ON -DBOOST_ROOT="/opt/cppse/build/boost/" -DBoost_INCLUDE_DIR="/opt/cppse/build/boost/include" . && \ | ||||
make -j8 && \ | make -j8 && \ | ||||
mkdir -p out/opt/cppse/build/inotify-cpp | mkdir -p out/opt/cppse/build/inotify-cpp | ||||
cp -prv inotify-cpp_out/* out/opt/cppse/build/inotify-cpp/ | cp -prv inotify-cpp_out/* out/opt/cppse/build/inotify-cpp/ | ||||
rm -rf cppse_inotify-cpp_*_amd64.deb | rm -rf cppse_inotify-cpp_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n inotify-cpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "inotify-cpp - build dependency" --url "https://github.com/erikzenker/inotify-cpp" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-inotify-cpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "inotify-cpp - build dependency" --url "https://github.com/erikzenker/inotify-cpp" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
sudo rm -rf inotify-cpp* | sudo rm -rf inotify-cpp* |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=3.3.2 | |||||
build: cppse-openexr_$(VERSION)_amd64.deb | |||||
cppse-openexr_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2004: | ubuntu2004: | ||||
git clone --branch v2.5.2 https://github.com/AcademySoftwareFoundation/openexr || true | git clone --branch v2.5.2 https://github.com/AcademySoftwareFoundation/openexr || true | ||||
bash ../ubuntu2004.sh make impl | bash ../ubuntu2004.sh make impl | ||||
cp -prv openexr/build/openexr_out/* out/opt/cppse/build/openexr/ | cp -prv openexr/build/openexr_out/* out/opt/cppse/build/openexr/ | ||||
cp -prv openexr/build2/openexr_out/lib/* out/opt/cppse/build/openexr/lib/ | cp -prv openexr/build2/openexr_out/lib/* out/opt/cppse/build/openexr/lib/ | ||||
rm -rf cppseopenexr_*_amd64.deb | rm -rf cppseopenexr_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppseopenexr --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "openexr - build dependency" --url "https://github.com/AcademySoftwareFoundation/openexr" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-openexr --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "openexr - build dependency" --url "https://github.com/AcademySoftwareFoundation/openexr" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf openexr | rm -rf openexr |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=0.2.10 | |||||
build: cppse-pngpp_$(VERSION)_amd64.deb | |||||
cppse-pngpp_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
wget http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | wget http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | ||||
tar -zxvf png++-0.2.10.tar.gz | tar -zxvf png++-0.2.10.tar.gz | ||||
make package-ubuntu2204 | make package-ubuntu2204 | ||||
ubuntu2404: | ubuntu2404: | ||||
wget http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | |||||
wget -c http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.10.tar.gz | |||||
tar -zxvf png++-0.2.10.tar.gz | tar -zxvf png++-0.2.10.tar.gz | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
mkdir -p out/opt/cppse/build/png++ | mkdir -p out/opt/cppse/build/png++ | ||||
cp -prv png++-0.2.10/* out/opt/cppse/build/png++/ | cp -prv png++-0.2.10/* out/opt/cppse/build/png++/ | ||||
rm -rf pngpp_*_amd64.deb | rm -rf pngpp_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n pngpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "png++ - build dependency" --url "https://www.nongnu.org/pngpp/" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-pngpp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "png++ - build dependency" --url "https://www.nongnu.org/pngpp/" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf png++* | rm -rf png++* |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=1.3.6 | |||||
build: cppse-redis-plus-plus_$(VERSION)_amd64.deb | |||||
cppse-redis-plus-plus_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2204: | ubuntu2204: | ||||
mkdir -p $$PWD/../out | mkdir -p $$PWD/../out | ||||
mkdir -p pkg_out/opt/cppse/build/ | mkdir -p pkg_out/opt/cppse/build/ | ||||
rsync -raPv out/ pkg_out/opt/cppse/build/ | rsync -raPv out/ pkg_out/opt/cppse/build/ | ||||
rm -rf redis-plus-plus*amd64.deb | rm -rf redis-plus-plus*amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1 -s dir -t deb -n redis-plus-plus --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "redis-plus-plus - build dependency" --url "https://github.com/sewenew/redis-plus-plus" --deb-generate-changes -C /src/pkg_out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-redis-plus-plus --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "redis-plus-plus - build dependency" --url "https://github.com/sewenew/redis-plus-plus" --deb-generate-changes -C /src/pkg_out | |||||
clean: | clean: | ||||
sudo rm -rf hiredis | sudo rm -rf hiredis |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=1.4.4 | |||||
build: cppse-seasocks_$(VERSION)_amd64.deb | |||||
cppse-seasocks_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
git clone https://github.com/rayburgemeestre/seasocks --branch v1.4.3 | git clone https://github.com/rayburgemeestre/seasocks --branch v1.4.3 | ||||
bash ../ubuntu1804.sh make impl | bash ../ubuntu1804.sh make impl | ||||
ubuntu2404: | ubuntu2404: | ||||
# git clone https://github.com/rayburgemeestre/seasocks --branch v1.4.4 | # git clone https://github.com/rayburgemeestre/seasocks --branch v1.4.4 | ||||
git clone https://github.com/rayburgemeestre/seasocks --branch master | |||||
git clone https://github.com/rayburgemeestre/seasocks --branch master || true | |||||
bash ../ubuntu2404.sh make impl | bash ../ubuntu2404.sh make impl | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
bash ../ubuntu2404.sh chown $$(id -u):$$(id -g) . -R # fix permissions | bash ../ubuntu2404.sh chown $$(id -u):$$(id -g) . -R # fix permissions | ||||
apt-get update && apt-get install libz-dev -y && \ | apt-get update && apt-get install libz-dev -y && \ | ||||
pushd seasocks && \ | pushd seasocks && \ | ||||
sed -i 's/favicon\.ico/favicon_\.ico/g' src/test/c/EmbeddedContentTests.cpp src/main/web/CMakeLists.txt && \ | sed -i 's/favicon\.ico/favicon_\.ico/g' src/test/c/EmbeddedContentTests.cpp src/main/web/CMakeLists.txt && \ | ||||
mkdir build && pushd build && \ | |||||
mv ./src/main/web/favicon.ico ./src/main/web/favicon_.ico && \ | |||||
mkdir -p build && pushd build && \ | |||||
CXX=$$(which c++) cmake -DCMAKE_INSTALL_PREFIX=$$PWD/seasocks_out .. && \ | CXX=$$(which c++) cmake -DCMAKE_INSTALL_PREFIX=$$PWD/seasocks_out .. && \ | ||||
make -j $$(nproc) && \ | make -j $$(nproc) && \ | ||||
make install | make install | ||||
mkdir -p out/opt/cppse/build/seasocks | mkdir -p out/opt/cppse/build/seasocks | ||||
cp -prv seasocks/build/seasocks_out/* out/opt/cppse/build/seasocks/ | cp -prv seasocks/build/seasocks_out/* out/opt/cppse/build/seasocks/ | ||||
rm -rf seasocks_*_amd64.deb | rm -rf seasocks_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n seasocks --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "seasocks - build dependency" --url "https://github.com/mattgodbolt/seasocks" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-seasocks --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "seasocks - build dependency" --url "https://github.com/mattgodbolt/seasocks" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf seasocks | rm -rf seasocks | ||||
rm -rf out | rm -rf out | ||||
rm -rf build | |||||
shell: | shell: | ||||
FLAGS="-i --privileged" bash ../ubuntu2204.sh /bin/bash | FLAGS="-i --privileged" bash ../ubuntu2204.sh /bin/bash |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=2.5.0 | |||||
build: cppse-sfml_$(VERSION)_amd64.deb | |||||
cppse-sfml_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu1804: | ubuntu1804: | ||||
git clone https://github.com/SFML/SFML.git | git clone https://github.com/SFML/SFML.git | ||||
pushd SFML && git checkout 2.5.x # && patch -p1 < ../patch.txt | pushd SFML && git checkout 2.5.x # && patch -p1 < ../patch.txt | ||||
mkdir -p out/opt/cppse/build/sfml/ | mkdir -p out/opt/cppse/build/sfml/ | ||||
cp -prv SFML/sfml_static/* out/opt/cppse/build/sfml/ | cp -prv SFML/sfml_static/* out/opt/cppse/build/sfml/ | ||||
rm -rf sfml_*_amd64.deb | rm -rf sfml_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n sfml --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "SFML - build dependency" --url "https://github.com/SFML/SFML.git" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-sfml --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "SFML - build dependency" --url "https://github.com/SFML/SFML.git" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf SFML | rm -rf SFML |
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=2.0 | |||||
build: cppse-tvision_$(VERSION)_amd64.deb | |||||
cppse-tvision_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2004: | ubuntu2004: | ||||
# check out revision that is master at the time of writing | # check out revision that is master at the time of writing | ||||
git clone https://github.com/magiblot/tvision || true | git clone https://github.com/magiblot/tvision || true | ||||
# check out revision that is master at the time of writing | # check out revision that is master at the time of writing | ||||
git clone https://github.com/magiblot/tvision || true | git clone https://github.com/magiblot/tvision || true | ||||
pushd tvision && \ | pushd tvision && \ | ||||
git checkout 638f963fe4f6c84854f60f1e9c5772bf6603e4b2 && \ | |||||
git checkout 8605384659274edf1db39abef5338d2573c3e0b6 && \ | |||||
popd && \ | popd && \ | ||||
bash ../ubuntu2404.sh make impl | bash ../ubuntu2404.sh make impl | ||||
make package-ubuntu2404 | make package-ubuntu2404 | ||||
mkdir -p out/opt/cppse/build/tvision | mkdir -p out/opt/cppse/build/tvision | ||||
cp -prv tvision_out/* out/opt/cppse/build/tvision/ | cp -prv tvision_out/* out/opt/cppse/build/tvision/ | ||||
rm -rf cppse_tvision_*_amd64.deb | rm -rf cppse_tvision_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n cppse-tvision --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "tvision - build dependency" --url "https://github.com/magiblot/tvision" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-tvision --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "tvision - build dependency" --url "https://github.com/magiblot/tvision" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
sudo rm -rf tvision* | sudo rm -rf tvision* |
#!/bin/bash | #!/bin/bash | ||||
docker run $FLAGS --pull always -t -v $PWD:$PWD --workdir $PWD rayburgemeestre/build-ubuntu:24.04 sh -c "$*" | |||||
set -ex | |||||
# docker run $FLAGS --pull always -t -v $PWD:$PWD --workdir $PWD rayburgemeestre/build-ubuntu:24.04 sh -c "$*" | |||||
parent_dir=$(dirname "$PWD") | |||||
docker run $FLAGS -t -v $parent_dir:$parent_dir --workdir $PWD rayburgemeestre/build-ubuntu:24.04 sh -c "$*" | |||||
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
#VERSION:=11.9.169.4 | |||||
VERSION:=13.0.245.25 | |||||
build: cppse-v8_$(VERSION)_amd64.deb | |||||
cppse-v8_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
#ubuntu1804: | #ubuntu1804: | ||||
# # git clone https://github.com/rayburgemeestre/v8pp | # # git clone https://github.com/rayburgemeestre/v8pp | ||||
# # | # # | ||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git || true | git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git || true | ||||
#git clone -b v1.8.1 https://github.com/pmed/v8pp || true , next version 1.8.2, will probably contain the fix for clang-14 as well. for now.. | #git clone -b v1.8.1 https://github.com/pmed/v8pp || true , next version 1.8.2, will probably contain the fix for clang-14 as well. for now.. | ||||
git clone -b master https://github.com/pmed/v8pp # ..we'll use master. | git clone -b master https://github.com/pmed/v8pp # ..we'll use master. | ||||
bash ../ubuntu2204.sh make build # prepares packaging as well | |||||
bash ../ubuntu2204.sh make impl # prepares packaging as well | |||||
make fpm_package | make fpm_package | ||||
bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions | ||||
rm -rfv depot_tools | rm -rfv depot_tools | ||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git || true | git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git || true | ||||
#git clone -b v1.8.1 https://github.com/pmed/v8pp || true , next version 1.8.2, will probably contain the fix for clang-14 as well. for now.. | #git clone -b v1.8.1 https://github.com/pmed/v8pp || true , next version 1.8.2, will probably contain the fix for clang-14 as well. for now.. | ||||
git clone -b master https://github.com/pmed/v8pp # ..we'll use master. | |||||
bash ../ubuntu2404.sh make build # prepares packaging as well | |||||
git clone -b master https://github.com/pmed/v8pp || true # ..we'll use master. | |||||
bash ../ubuntu2404.sh make impl # prepares packaging as well | |||||
make fpm_package | make fpm_package | ||||
bash ../ubuntu2404.sh chown $$(id -u):$$(id -g) . -R # fix permissions | bash ../ubuntu2404.sh chown $$(id -u):$$(id -g) . -R # fix permissions | ||||
build: | |||||
impl: | |||||
# see issue https://exerror.com/fatal-detected-dubious-ownership-in-repository/ | # see issue https://exerror.com/fatal-detected-dubious-ownership-in-repository/ | ||||
git config --global --add safe.directory '*' | git config --global --add safe.directory '*' | ||||
switch-to-latest-clang | switch-to-latest-clang | ||||
cp -prv v8pp/v8pp out/opt/cppse/build/v8pp/include/ | cp -prv v8pp/v8pp out/opt/cppse/build/v8pp/include/ | ||||
fpm_package: | fpm_package: | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n v8pp --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "v8pp - build dependency" --url "https://github.com/rayburgemeestre/v8pp" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-v8 --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "v8pp - build dependency" --url "https://github.com/rayburgemeestre/v8pp" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf v8pp | rm -rf v8pp |
#gclient sync -r 8.2.297.1 # https://github.com/pmed/v8-nuget/ | #gclient sync -r 8.2.297.1 # https://github.com/pmed/v8-nuget/ | ||||
#gclient sync -r 9.3.345.3 # https://github.com/pmed/v8-nuget/ | #gclient sync -r 9.3.345.3 # https://github.com/pmed/v8-nuget/ | ||||
#gclient sync -r 10.0.139.9 # https://github.com/pmed/v8-nuget/ | #gclient sync -r 10.0.139.9 # https://github.com/pmed/v8-nuget/ | ||||
gclient sync -r 11.9.169.4 # https://github.com/pmed/v8-nuget/ | |||||
#gclient sync -r 11.9.169.4 # https://github.com/pmed/v8-nuget/ | |||||
gclient sync -r 13.0.245.25 | |||||
# Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN | # Looks like we have to use GN now: https://github.com/v8/v8/wiki/Building-with-GN | ||||
SHELL:=/bin/bash | SHELL:=/bin/bash | ||||
VERSION:=3.0.1 | |||||
build: cppse-vivid_$(VERSION)_amd64.deb | |||||
cppse-vivid_$(VERSION)_amd64.deb: | |||||
make ubuntu2404 | |||||
ubuntu2204: | ubuntu2204: | ||||
git clone -b v3.0.1 https://github.com/gurki/vivid | git clone -b v3.0.1 https://github.com/gurki/vivid | ||||
bash ../ubuntu2204.sh make impl | bash ../ubuntu2204.sh make impl | ||||
cp -prv vivid/vivid_out2/lib/libvivid.a out/opt/cppse/build/vivid/lib/libvivid-em.a | cp -prv vivid/vivid_out2/lib/libvivid.a out/opt/cppse/build/vivid/lib/libvivid-em.a | ||||
cp -prv vivid/build/_deps/glm-src/glm out/opt/cppse/build/vivid/include/ | cp -prv vivid/build/_deps/glm-src/glm out/opt/cppse/build/vivid/include/ | ||||
rm -rf vivid_*_amd64.deb | rm -rf vivid_*_amd64.deb | ||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v 1.1.1 -s dir -t deb -n vivid --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "vivid - build dependency" --url "https://github.com/gurki/vivid.git" --deb-generate-changes -C /src/out | |||||
docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:24.04 fpm -v $(VERSION) -s dir -t deb -n cppse-vivid --license MPL2 --maintainer "Ray Burgemeestre <ray@cppse.nl>" --description "vivid - build dependency" --url "https://github.com/gurki/vivid.git" --deb-generate-changes -C /src/out | |||||
clean: | clean: | ||||
rm -rf vivid | rm -rf vivid |