The file src/core/loop_content/src/LoopAwareMemDepAnalysis.cpp contains a hardcoded #define ENABLE_SCAF.
This requires individuals who want to compile NOELLE without SCAF to both use the specified make rule in external/Makefileand make modifications to the program.
Proposed changes:
Quick fix: Wrap ENABLE_SCAF in an ifdef so that it will take on the environment definition and change uses of it to be #if instead of #ifdef so that it can be toggled with 1 or 0.
More robust: Create an ENABLE_SCAF environment variable in the top-level Makefile, which will select the external/Makefile rule and set the environment variable for the file in loop_content (and any future users)
The file
src/core/loop_content/src/LoopAwareMemDepAnalysis.cpp
contains a hardcoded#define ENABLE_SCAF
. This requires individuals who want to compile NOELLE without SCAF to both use the specified make rule inexternal/Makefile
and make modifications to the program.Proposed changes:
#if
instead of#ifdef
so that it can be toggled with1
or0
.ENABLE_SCAF
environment variable in the top-levelMakefile
, which will select theexternal/Makefile
rule and set the environment variable for the file inloop_content
(and any future users)