Ви не можете вибрати більше 25 тем
Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
|
- SHELL:=/bin/bash
-
- ubuntu2004:
- git clone --branch v2.5.2 https://github.com/AcademySoftwareFoundation/openexr || true
- bash ../ubuntu2004.sh make impl
- make package-ubuntu2004
- bash ../ubuntu2004.sh chown $$(id -u):$$(id -g) . -R # fix permissions
-
- ubuntu2204:
- git clone --branch v3.1.5 https://github.com/AcademySoftwareFoundation/openexr || true
- bash ../ubuntu2204.sh make impl
- make package-ubuntu2204
- bash ../ubuntu2204.sh chown $$(id -u):$$(id -g) . -R # fix permissions
-
- impl:
- switch-to-latest-clang
- apt-get update && apt-get install libz-dev -y && \
- pushd openexr && \
- mkdir build && pushd build && \
- CXX=$$(which c++) cmake -DBUILD_SHARED_LIBS=off -DCMAKE_INSTALL_PREFIX=$$PWD/openexr_out .. && \
- make -j $$(nproc) && \
- make install && \
- popd && \
- mkdir build2 && pushd build2 && \
- CXX=$$(which c++) cmake -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_PREFIX=$$PWD/openexr_out .. && \
- make -j $$(nproc) && \
- make install
-
- package-ubuntu2004:
- rm -rf out
- mkdir -p 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/
- rm -rf cppseopenexr_*_amd64.deb
- docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:20.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
-
- package-ubuntu2204:
- rm -rf out
- mkdir -p 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/
- rm -rf cppseopenexr_*_amd64.deb
- docker run -v "$$(pwd):/src/" rayburgemeestre/fpm-ubuntu:22.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
-
- clean:
- rm -rf openexr
- rm -rf out
-
- shell:
- FLAGS="-i --privileged" bash ../ubuntu2204.sh /bin/bash
|