Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LibAFL_CC README.md #1483

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Update LibAFL_CC README.md #1483

merged 1 commit into from
Aug 29, 2023

Conversation

kiwids0220
Copy link
Contributor

Updated with steps to compile LLVM from source tree

Updated with steps to compile LLVM from source tree
@domenukk
Copy link
Member

Thanks! :)

@domenukk domenukk merged commit c91fc9a into AFLplusplus:main Aug 29, 2023
git clone https://github.com/llvm/llvm-project.git llvm

## Building Clang project first, the CMAKE_INSTALL_PREFIX is important here, make sure to select a folder path that doesn't contain any spaces in it
$ cmake -S llvm\llvm -B build -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -Thost=x64 -DCMAKE_INSTALL_PREFIX=C:\llvm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct to set DLLVM_TARGETS_TO_BUILD=X86
(shouldn't this be x86-64?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe so since there is no x86_64 under targets, I retried with cmake to target x86_64 with LLVM_EXPERIMENTAL_TARGETS_TO_BUILD but CMAKE spits back at me with add_subdirectory given source "x86_64" which is not an existing directory. & Target x86_64 is not in the set of libraries. But I dunno why this is the case. I would be interested to find out.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants