starpu-runtime / starpu

This is a mirror of https://gitlab.inria.fr/starpu/starpu where our development happens, but contributions are welcome here too!
https://starpu.gitlabpages.inria.fr/
GNU Lesser General Public License v2.1
63 stars 12 forks source link

Modified the method of passing paths through macro definitions. #28

Closed wzf03 closed 1 year ago

wzf03 commented 1 year ago

Modified the method for passing paths via macro definitions to prevent potential issues with macro expansion. For instance, when specifying the prefix as linux-gcc during configuration, STARPU_SAMPLING_DIR and STARPU_OPENCL_DATADIR may point to the subdirectory of 1-gcc instead, which can lead to unexpected behaviors. This is because gcc defines linux as 1.

sthibaul commented 1 year ago

Applied to our gitlab repo, thanks! That will appear on github within a day