-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
RFC: Run the tests on julia-debug if JULIA_DEBUG==1 #11155
Conversation
👍 for this idea, though I'm not enough of a Makefile expert to count as a reviewer. I had the impression that |
From the looks of things, I just created a new (simpler, and more correct) patch, so would appreciate it if somebody with actual |
I'd opt for @vtjnash or @ViralBShah for build system. |
@timholy Actually we're both right: |
Thanks for finding that. I knew I had seen something like that somewhere. |
lgtm |
however, if you really want to have some fun with makefiles, replace https://www.gnu.org/software/make/manual/html_node/Goals.html |
@vtjnash I'm not quite sure if I'm up for that now, and also I do not quite understand the benefit (could you please elaborate?). If I understand correctly, with that a debug build would be built by default, unless somebody expicitly says "release". Do we want e.g. the |
good catch, i wanted to express "debug & !release". so, maybe it should be:
|
merged as a4d019e i decided to go ahead and make the tweaks i was suggesting as a followup commit. now |
would've been ideal to do that in a pr first, given the appveyor breakage |
This modifies the
Makefile
so thatmake test
and its siblings will use a debug build of julia ifJULIA_DEBUG
is set to1
. Previously,make test
would always make a release build of julia and then run the tests, even ifmake
had just made a debug build of julia due toJULIA_DEBUG
being set.