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

Add support for precmd and postcmd for each target #227

Merged
merged 5 commits into from
Apr 29, 2023

Conversation

TongkunZhang
Copy link
Contributor

Set the following in Rules.mk to run those commands right before and after the compiling commands:
target_name: private PRECMD := cl commands
target_name: private POSTCMD := cl commands

Fixes #208

src/scripts/launch Outdated Show resolved Hide resolved
src/scripts/launch Outdated Show resolved Hide resolved
@edmundreinhardt edmundreinhardt self-assigned this Apr 28, 2023
@edmundreinhardt
Copy link
Member

Note that we need to fix the pre/post for CRTCPPMOD to spawn a single job with bash -c

Copy link
Member

@edmundreinhardt edmundreinhardt left a comment

Choose a reason for hiding this comment

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

great job, - will open new defect with remaining issue for CRTCPPMOD

@edmundreinhardt edmundreinhardt merged commit 3cb1afd into master Apr 29, 2023
@edmundreinhardt edmundreinhardt deleted the feature/pre_post_cmd branch April 29, 2023 00:06
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.

Running pre- and post-commands
2 participants