1DOLLY 82APPLICATION mojo-gpu3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST snapshot@07REQUIRES HOST gpu@089# A shell with the Mojo compiler built in Dolly (the mojo package) and what its10# programs link against, in an image with a GPU: kernels run here.11INSTALL /Dollyfile-core f92e986b840d0d46883b4a8d6eee8082aebd56f944f318083bda74cfe3e86b1012INSTALL /Dollyfile-posix bd721815ffc3d3b9d887f57c3260749cb1db05ed2fe3f46a38b37e00ee66391b13INSTALL /Dollyfile-display a03812d93e51c6338e43063f954fb9492ee0535f94a39e5c377d504a3d9eedb814INSTALL /demos/mojo/Dollyfile-mojo 7b253fabd4d9415410267736e57cd86bbe967edc2e8e669ecfa0386a861253ff15REQUIRES TOOL mojo16REQUIRES LIB dolly-gpu1718# Programs to start from: the target's test programs, as they are tested.19SOURCE /dist/static/mojo/examples/hello.mojo d4e226386de30b33dba73929f423f9c820f482edc771bdd2b0a625b204fd25e5 /home/dolly/mojo/hello.mojo20SOURCE /dist/static/mojo/examples/saxpy.mojo 15035ff21b6e8a5c00ba7f7ac62ab28f33663fa1df00e54ab7ecf0c6cee4d891 /home/dolly/mojo/saxpy.mojo21SOURCE /dist/static/mojo/examples/mandelbrot.mojo 08b7af85c9f3ee75311940c02c7392d327622faa3741b51ee5b627dbdbb16d6c /home/dolly/mojo/mandelbrot.mojo22FOLDER /home/dolly/mojo23FILE /home/dolly/.dollyrc24    echo 'DOLLY / MOJO-GPU: the Mojo compiler, compiled inside Dolly, and WebGPU.'25    echo '  cd ~/mojo && mojo build mandelbrot.mojo && ./mandelbrot    kernels on the GPU'26    echo '  mojo build hello.mojo && ./hello'27    echo 'There is no mojo run here: build, then run. Elsewhere: amy install mojo.'28    echo2930# The compiler and the link work here; a kernel runs where there is a GPU.31REQUIRES TOOL mkdir32REQUIRES TOOL test33SLOP mkdir /tmp/mojo-check34SLOP CWD /home/dolly/mojo slop -c 'mojo build -o /tmp/mojo-check/hello hello.mojo && test "$(/tmp/mojo-check/hello)" = "hello from mojo"'35SLOP CWD /home/dolly/mojo slop -c 'mojo build -o /tmp/mojo-check/saxpy saxpy.mojo && mojo build -o /tmp/mojo-check/mandelbrot mandelbrot.mojo'3637ENTRY /bin/foreground -i /bin/slop38