DrTimothyAldenDavis / GraphBLAS

SuiteSparse:GraphBLAS: graph algorithms in the language of linear algebra. For production: (default) STABLE branch. Code development: ask me for the right branch before submitting a PR. video intro: https://youtu.be/Tj5y6d7FegI .
http://faculty.cse.tamu.edu/davis/GraphBLAS.html
Other
345 stars 61 forks source link

JIT package generator: Use response file #302

Closed mmuetzel closed 3 weeks ago

mmuetzel commented 3 weeks ago

On some systems (such as older UNIX systems and certain Windows variants) command-lines have relatively limited lengths. Compilers therefore support "response files". These files are mentioned on the command-line (using the @file) syntax. (See, e.g., https://gcc.gnu.org/wiki/Response_Files) Add support to the JIT package generator to support a similar syntax. For simplicity, response files cannot be mixed with other files as input arguments.

Let CMake create a file with the list of source files for the JIT package generator. Pass a reference to that file when calling the JIT package generator instead of passing a long argument list.