Closed ciaran-moore closed 10 months ago
It works fine, it looks like you forgot -G Ninja
on CMake flags
By default CMake uses Makefiles
, so if you want Ninja Build use -G Ninja
, if you don't want Ninja Build, just use the command make install
In README file there is a --preset
flag which sets Ninja Build as default build system
I was following the Debian / Ubuntu instructions for Compiling Optimized Build in the README. After running the commands individually it worked fine, but each time I used the &&
commands it gives the error.
bash: cd: out/Release: No such file or directory
Replacing the logical AND with ;
also works for me.
cmake --preset Release -DPHP_SCYLLADB_OPTIMISE_FOR_CURRENT_MACHINE=ON; cd out/Release; sudo ninja install
cmake -DCMAKE_BUILD_TYPE=Release -DPHP_SCYLLADB_OPTIMISE_FOR_CURRENT_MACHINE=ON && cd out/Release && sudo ninja install
Command specified in README Fails to build prompting that
out/Release
does not existCreating the directory manually and re-running also fails as
build.ninja
is not written to that directory