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
355 stars 62 forks source link

Support object files in JIT #290

Open rayegun opened 4 months ago

rayegun commented 4 months ago

I consider this WIP because I have some more testing to do on other platforms. This PR adds a few new global options, as well as the ability to treat a string as a path for the JIT. Sorry it took so long I was debugging going from macOS to linux.

The object file vs header file and LTO are handled by the user-defined compiler flags, not by any hardcoded controls. This is fairly natural, as the LTO handling may differ slightly between different linkers and compiler drivers.

In a separate PR I will add the support to control JIT compilation on an operator level.

rayegun commented 4 months ago

Hmmmm. This commit history does not look right haha. Let me try to fix that

rayegun commented 4 months ago

Oh it's because I made it against stable oops. That's much better

DrTimothyAldenDavis commented 4 months ago

The Source/fy files are now in the Source/jitifyer folder. Source/GrB_Global_set.c has been moved to Source/get_set/GrB_Global_set.c.