-
Notifications
You must be signed in to change notification settings - Fork 346
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 build from source when a dune-project file is presented in the parent directory #4545
Conversation
067d733
to
cb158dd
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.
Thanks!
Just a question, is there a reason to not use |
🌴 You don't want the user to be able to change it - |
# TODO: Replace --profile=$(DUNE_PROFILE) by --release when we require on dune >= 2.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.
This would need to be slightly more complicated - the idea was that you can say make DUNE_PROFILE=dev
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.
we could still have something like that:
ifeq ($(DUNE_PROFILE),release)
DUNE_PROFILE_ARG=--release
else
DUNE_PROFILE_ARG=--profile=$(DUNE_PROFILE)
endif
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.
Indeed, that was my slightly more complicated 🙂
2e7f7b3
to
14ed33e
Compare
Good to go when CI’s ready |
@AltGr can you take a look (and update PR) to be sure to not broke the new dune tests makefiles 😇 |
14ed33e
to
9c391f0
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.
Rebased and I (throughly) checked all the dune calls - good to go, as long as CI agrees.
Fixes #4537