1DOLLY 82TOOLCHAIN zero-ad-engine3REQUIRES HOST runtime@04REQUIRES HOST audio@05REQUIRES HOST display@06REQUIRES HOST input@07REQUIRES HOST touch@08REQUIRES HOST download@09REQUIRES HOST gpu@010REQUIRES HOST http@011REQUIRES HOST upload@012REQUIRES HOST threads@01314# Build-only: the 0 A.D. engine (pyrogenesis), built by the Makefiles premake15# generates from upstream's scripts, with Dolly's c++.16FROM /demos/zero-ad/Dollyfile-zero-ad-deps 845003e236d0126ad52914e2956e70d948247f6ba1a736eadca616717004de4817INSTALL /demos/zero-ad/Dollyfile-premake 5d01b86d02850fb379ee91c53f6fbd5191cddf6cc33356083828cad6417ed88c18INSTALL /Dollyfile-libdolly-gpu e3d09def5ec1b5113da429c6165bc288646fbd48dda2bdb6471e22e2d8867b3f19INSTALL /Dollyfile-libdolly-audio a4064796256e039400d5ea30faae6dfeccb9c09d62a8b6dd09daebc16fbf1f7f20INSTALL /Dollyfile-libdolly-touch e575ebfcfdeb0bd32c82b34d59b0a25b627a1189a5a5ebdcc930073fe86594f021INSTALL /Dollyfile-libdolly-display afbf05e4d39eda376f6195f86762fb635a3effb3f2e5414ef1ffa70b298af91922INSTALL /Dollyfile-libdolly-input 22d9db2a107fd5721f70d9662921b2e3fd9432549056e9e27e0ee36e6a898c8423# download, which the engine's test takes its logs out with.24INSTALL /Dollyfile-transfer 06c7f7e4b4d53f6ef7d342f48293d1e61af6e9a330d4d857b597f26471ce8c0725REQUIRES TOOL cc26REQUIRES TOOL c++27REQUIRES TOOL ar28REQUIRES TOOL make29REQUIRES TOOL pkg-config30REQUIRES TOOL gzip31REQUIRES TOOL tar32REQUIRES TOOL patch33REQUIRES TOOL cp34REQUIRES TOOL mkdir3536SOURCE /dist/static/zero-ad-build/engine.tar.gz a45cd31cceb7a2c6f474b432ee57e8d1c14214730c12da91c2beb5a441bcb649 /tmp/0ad.tar.gz37SLOP gzip -dc /tmp/0ad.tar.gz | tar -xf - -C /38SLOP patch -p1 -d /tmp/0ad -i /tmp/0ad-patches/engine.patch3940# SpiderMonkey: its headers, the two archives, its pkg-config file and licences.41INSTALL /demos/zero-ad/Dollyfile-spidermonkey 233736000470eae2a3deaaaf4714f50aa09e72588daf3bd197782ad676c00f9b4243# Probe for test/0ad-spidermonkey-browser.mjs.44SLOP mkdir -p /usr/libexec/zero-ad45SLOP c++ -std=c++20 -O1 -I/opt/mozjs/include /tmp/0ad-patches/spidermonkey-check.cpp \46  -L/opt/mozjs/lib -ljs_static -ljsrust -lz -o /usr/libexec/zero-ad/spidermonkey-check47SLOP /usr/libexec/zero-ad/spidermonkey-check48FOLDER /usr/libexec/zero-ad4950SLOP CWD /tmp/0ad/build/premake CC=cc CXX=c++ \51  premake5 --os=emscripten --minimal-flags --strip-binaries --with-system-mozjs \52  --without-atlas --without-nvtt --without-lobby --without-miniupnpc --without-pch \53  --without-tests --without-dap-interface --outpath=../workspaces/dolly gmake54# __DATE__ and __TIME__ are the release's build_version.txt mtime, for reproducible builds.55SLOP CWD /tmp/0ad/build/workspaces/dolly SOURCE_DATE_EPOCH=1771228448 \56  time make config=release -j4 CC=cc CXX=c++ AR=ar pyrogenesis57SLOP mkdir -p /opt/0ad/system58SLOP cp /tmp/0ad/binaries/system/pyrogenesis.wasm /opt/0ad/system/pyrogenesis59SLOP /opt/0ad/system/pyrogenesis -version6061EXPORTS FILE pyrogenesis /opt/0ad/system/pyrogenesis6263ENTRY /bin/foreground -i /bin/slop64