Commit Graph
16 Commits
Author SHA1 Message Date
andrew e378c025f2 Force Windows binaries to have .exe extensions
Technically, authors really should have their makefiles attached the .exe extension on Windows. But they seldom do. Its easier to add this hack fix, than it is to enforce that standard, and help people debug.

Worth noting that this is only an issue for Windows, in shells that don't let you execute files, IE powershell/cmd.
2024-05-02 03:12:49 -04:00
Andrew Grant 2fcb7329ce Implement support for DATAGEN Workloads through the genfens interface (#200) 2024-03-12 21:22:07 -04:00
andrew 6b268e7c20 Remove debug information 2024-02-29 21:56:13 -05:00
andrew 52e5fbd4c6 Second fix for public engines 2024-02-29 21:54:41 -05:00
andrew aecd3d02e5 Fix issues with branch names containing a slash 2024-02-29 21:50:04 -05:00
andrew 86a395d08d Remove final direct use of relpath instead of abspath
Fixes another possible error case when tmpfs is not on the same disk as the cwd
2024-02-26 20:28:54 -05:00
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