-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Issue Description
When attempting to build the project, the script fails due to multiple issues related to LLVM configuration and CMake settings:
- LLVM Configuration Issue:
Thellvm-configscript is not found, indicating that LLVM may not be installed or is not in the system's PATH
../build.sh: 1: llvm-config: not found - Include Header Error:
The filellvm/Pass.hcannot be found which halts the compilation ofmain.cpp:./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory
6 | #include "llvm/Pass.h"
| ^~~~~~~~~~~~~
compilation terminated.
Expected Behavior
The build script should complete without errors, successfully compiling all modules.
Actual Behavior
The build process fails due to missing LLVM configuration and header file issues. Additionally, a CMake configuration warning is issued.
Possible Solutions
- Ensure LLVM is correctly installed and
llvm-configis accessible in your PATH. - Verify the presence of
llvm/Pass.hin your LLVM installation directory, or ensure the correct LLVM version is being used. - Modify the
CMakeLists.txtto include a direct call to theproject()command as suggested by the CMake warning.
Logs
./build.sh: 1: llvm-config: not found
./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory
6 | #include "llvm/Pass.h"
| ^~~~~~~~~~~~~
compilation terminated.
[] Trying to Build EntryPointIdentifier
./build.sh: 1: llvm-config: not found
./src/main.cpp:6:10: fatal error: llvm/Pass.h: No such file or directory
6 | #include "llvm/Pass.h"
| ^~~~~~~~~~~~~
compilation terminated.Metadata
Metadata
Assignees
Labels
No labels