-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix generate_catalog_edc_code triggered on every build #717
Conversation
# creates dependencies on the generated code which would causes this target to be automatically | ||
# called. | ||
add_custom_command( | ||
COMMENT "Generating EDC code for database catalog..." |
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.
Indentation is off.
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.
Fixed in my local branch. The fix will come in the next PR.
COMMAND cp ${GAIA_GENERATED_CODE}/catalog/gaia_catalog.h ${GAIA_REPO}/production/inc/gaia_internal/catalog/ | ||
COMMAND cp ${GAIA_GENERATED_CODE}/catalog/catalog_generated.h ${GAIA_REPO}/production/inc/gaia_internal/catalog/ | ||
DEPENDS edc_catalog_discard | ||
# make generate_catalog_edc_code |
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.
This comment seems rather redundant.
DEPENDS edc_catalog_discard | ||
# make generate_catalog_edc_code | ||
add_custom_target(generate_catalog_edc_code | ||
COMMENT "Copying generated EDC code for catalog into Gaia source tree..." |
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.
Indentation got messed up here too. Is your editor set incorrectly for make files?
There was a problem in the
generate_catalog_edc_code
target that caused the catalog EDC code to always be generated triggering a huge part of the build.