FSL: Compiling with Debug Information


I’m currently working on profiling various neuroimaging pipelines (including FSL) to characterize their performance bottleneck.

Having a compiled version of the binaries with debug information is highly valuable for such a task. Therefore, I was hoping to get some pointers on compiling FSL.
I found a GitLab repository with individual repository for each modules in FSL. My current plan was to clone each repository to compile the pipeline.
Is there better ways to get started compiling FSL? Or even better, an available version of FSL with debug information?