-
Notifications
You must be signed in to change notification settings - Fork 42
Support for llvm 20 #340
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
base: master
Are you sure you want to change the base?
Support for llvm 20 #340
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ target_link_libraries(${RELLIC_DECOMP} | |
PRIVATE | ||
"${PROJECT_NAME}_cxx_settings" | ||
"${PROJECT_NAME}" | ||
gflags::gflags | ||
gflags | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this changing? gflags provides official support for |
||
) | ||
|
||
set(RELLIC_DECOMP "${RELLIC_DECOMP}" PARENT_SCOPE) | ||
|
@@ -39,7 +39,7 @@ target_link_libraries(${RELLIC_HEADERGEN} | |
PRIVATE | ||
"${PROJECT_NAME}_cxx_settings" | ||
"${PROJECT_NAME}" | ||
gflags::gflags | ||
gflags | ||
) | ||
|
||
set(RELLIC_HEADERGEN "${RELLIC_HEADERGEN}" PARENT_SCOPE) | ||
|
@@ -57,14 +57,22 @@ add_executable(${RELLIC_XREF} | |
"xref/Xref.cpp" | ||
) | ||
|
||
include(FetchContent) | ||
FetchContent_Declare(cpp-httplib | ||
GIT_REPOSITORY https://github.com/yhirose/cpp-httplib.git | ||
GIT_TAG v0.20.0 | ||
) | ||
FetchContent_MakeAvailable(cpp-httplib) | ||
set(CPP_HTTPLIB_INCLUDE_DIRS "${cpp-httplib_SOURCE_DIR}") | ||
|
||
find_path(CPP_HTTPLIB_INCLUDE_DIRS "httplib.h") | ||
target_include_directories(${RELLIC_XREF} PRIVATE ${CPP_HTTPLIB_INCLUDE_DIRS}) | ||
|
||
target_link_libraries(${RELLIC_XREF} | ||
PRIVATE | ||
"${PROJECT_NAME}_cxx_settings" | ||
"${PROJECT_NAME}" | ||
gflags::gflags | ||
gflags | ||
) | ||
Comment on lines
+60
to
76
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMO this should be gated behind an option like
in Also, we should use the target |
||
|
||
set(RELLIC_XREF "${RELLIC_XREF}" PARENT_SCOPE) | ||
|
@@ -98,7 +106,7 @@ target_link_libraries(${RELLIC_REPL} | |
PRIVATE | ||
"${PROJECT_NAME}_cxx_settings" | ||
"${PROJECT_NAME}" | ||
gflags::gflags | ||
gflags | ||
linenoise | ||
) | ||
|
||
|
@@ -117,7 +125,7 @@ target_link_libraries(${RELLIC_DEC2HEX} | |
PRIVATE | ||
"${PROJECT_NAME}_cxx_settings" | ||
"${PROJECT_NAME}" | ||
gflags::gflags | ||
gflags | ||
) | ||
|
||
set(RELLIC_DEC2HEX "${RELLIC_DEC2HEX}" PARENT_SCOPE) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Rellic need MLIR?