I currently am building GMP statically for my project using the provided configure script with addSystemCommand (technically with a bash script to move the header and artifact into addOutputFileArg and addOutputDirectoryArg respectively). This leaves behind a host of .o files and other stuff, and currently I am using setCwd to build in a subdirectory of the GMP zig-pkg path.
It seems more idiomatic to me to get a temp path with tmpPath, but when I do so this step no longer caches and re-runs every zig build (even though nothing left in the directory after the command is needed). How do I go about running a system command in a temp path without getting rid of caching?