Commit Graph
10 Commits
Author SHA1 Message Date
Andrew Grant b54719ee77 Fixes for relative vs absolute file paths when building (#193)
The output binary is saved alongside the makefile initially, and moved after the fact. This was done to account for Windows and cross-drive issues due to temp filesystems. Because we are saving alongside the makefile, we can just use a relative path, ie the basename of the engine binary, to avoid possible issues in some engine build scripts.

Also, check process exitcode instead of just checking for the binary when building
Also, pretty-print the compiler error, even though it is sent to the server
2024-02-20 18:10:45 -05:00
andrew bb30aab72d Standardize usage of sha256 and error reporting 2024-02-15 19:33:15 -05:00
Michał Witanowski 7f50e2c6e5 Fix case sensitivity when comparing SHA hashes (#191) 2024-02-15 19:30:01 -05:00
andrew f65be5c572 Various fixes for Windows ( and maybe Linux )
using Make to tell the compiler to produce a binary to the /Engines/ dir fails on Windows when the tmpfs is not on the same disk as the Client. This might have also occured on Windows. shutil resolves that.

Take extra care to always maintain the possible .exe extension on files when doing this. This is done twice in the shutil line; first making sure to pickup the true file output name, and secondly to only use the root of the out_path and not the basename
2024-02-12 16:20:15 -05:00
andrew 732e7b1d61 Drop leading slash in api network requests 2024-02-02 05:42:22 -05:00
andrew c268b47e4d Modernize running benchmarks and reporting errors 2024-02-02 05:35:19 -05:00
andrew 8f250c2c3f Reuse utils.py in worker.py; Add many exceptions for safety 2024-02-02 05:35:19 -05:00
andrew a280e63dba Finalized bench_all.py 2023-12-08 12:05:42 -05:00
andrew 3af603dbe3 Finish bench_all.py, minus cmdline arguments 2023-12-07 16:26:10 -05:00
andrew 2a461ecfaa Initial steps for build_all.py 2023-12-06 13:32:46 -05:00