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

Fix generate_catalog_edc_code triggered on every build #717

Merged
merged 2 commits into from
Jun 9, 2021

Conversation

simone-gaia
Copy link
Contributor

@simone-gaia simone-gaia commented Jun 9, 2021

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.

@simone-gaia simone-gaia requested a review from chuan June 9, 2021 14:57
@simone-gaia simone-gaia merged commit de964cb into master Jun 9, 2021
# 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..."
Copy link
Contributor

Choose a reason for hiding this comment

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

Indentation is off.

Copy link
Contributor Author

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
Copy link
Contributor

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..."
Copy link
Contributor

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?

@simone-gaia simone-gaia deleted the rondelli-fix-edc-catalog branch August 11, 2021 15:05
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