-
Notifications
You must be signed in to change notification settings - Fork 409
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
Remove useless files for TiFlash #1596
Conversation
/run-all-tests |
1 similar comment
/run-all-tests |
|
||
if (USE_EMBEDDED_COMPILER) |
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.
Can we keep this option and the relative libs/code? We may investigate using codegen someday.
dbms/src/Server/CMakeLists.txt
Outdated
add_library (clickhouse-client-lib Client.cpp) | ||
target_link_libraries (clickhouse-client-lib clickhouse_functions clickhouse_aggregate_functions ${LINE_EDITING_LIBS} ${Boost_PROGRAM_OPTIONS_LIBRARY}) | ||
target_include_directories (clickhouse-client-lib PRIVATE ${READLINE_INCLUDE_DIR}) | ||
install (FILES clickhouse-client.xml DESTINATION ${CLICKHOUSE_ETC_DIR}/clickhouse-client COMPONENT clickhouse-client RENAME config.xml) | ||
|
||
add_library (clickhouse-benchmark-lib ${SPLIT_SHARED} Benchmark.cpp) |
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.
Can we keep those "Benchmark.cpp, Compressor.cpp" files and by default do NOT compile them? I agree that we do not need them currently, but I think the idea here is very good, i.e. run benchmarks for each component separately.
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.
https://github.com/pingcap/tics/blob/6cee66f2a3ab93d909f83b7fef9a0ddbf894545b/dbms/src/Server/CMakeLists.txt#L6-L13
Yes, those binaries are not compiled if you run make tiflash
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
4670943
to
850d68c
Compare
Signed-off-by: JaySon-Huang <[email protected]>
/run-all-tests |
1 similar comment
/run-all-tests |
@zanmato1984 @flowbehappy I've restored those binary targets. PTAL again |
/run-all-tests |
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.
LGTM
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.
LGTM
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@JaySon-Huang merge failed. |
/run-all-tests |
1 similar comment
/run-all-tests |
The test is running but shown as failure in Github. Waiting for it: https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/tics_ghpr_test/detail/tics_ghpr_test/4219/pipeline/19 |
What problem does this PR solve?
I want to make my editor index fewer files. There are many files not used by TiFlash.
What is changed and how it works?
Remove this submodule
contrib/capnproto
Remove these files
Related changes
Check List
Tests
Side effects
Release note