-
Notifications
You must be signed in to change notification settings - Fork 601
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
[DNM] [v23.2.x] cmake tweaks for vtools trunk-based development #19886
[DNM] [v23.2.x] cmake tweaks for vtools trunk-based development #19886
Conversation
Signed-off-by: Ivo Jimenez <[email protected]> (cherry picked from commit 58ab041)
The `v_` prefixed was dropped Signed-off-by: Ivo Jimenez <[email protected]> (cherry picked from commit b93d1ba)
Signed-off-by: Noah Watkins <[email protected]> (cherry picked from commit ad49bdb)
Signed-off-by: Noah Watkins <[email protected]> (cherry picked from commit 0ddf160)
Signed-off-by: Noah Watkins <[email protected]> (cherry picked from commit 2b73b5e)
ff70601
to
15eddb5
Compare
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, several nerdy comments
@@ -133,15 +133,15 @@ def _find_addr2lines(self): | |||
# Workstation: find our build directory by searching back from binary | |||
path_parts = self.binary.split("/") | |||
try: | |||
vbuild = "/".join(path_parts[0:path_parts.index("vbuild") + 3]) | |||
vbuild = "/".join(path_parts[0:path_parts.index("vbuild") + 5]) |
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.
nit: It would be good to have an example path here is a comment to help future generations.
add_custom_target(${NAME}) | ||
add_custom_command(TARGET ${NAME} | ||
COMMAND env GOPATH=${GOPATH} ${CMAKE_GO_BINARY} build | ||
string(REPLACE "-" "_" target_name ${NAME}) |
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.
nit: comments with example name updates and why would be good
DNM - used for testing
Backports Required
Release Notes