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

Replace BUNDLE_DEBUG_LIBS with make install JULIA_BUILD_MODE=debug. #46320

Merged
merged 2 commits into from
Aug 16, 2022

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Aug 11, 2022

Fixes #46317. I don't think BUNDLE_DEBUG_LIBS was used, or even documented, and for PkgEval it makes more sense to pick one or the other (and it simplifies the Makefile). Currently mostly implemented using conditionals, but could be cleaned up. (using $(JULIA_EXECUTABLE_$(JULIA_BUILD_MODE))-like tricks).

@maleadt maleadt added the domain:building Build system, or building Julia or its dependencies label Aug 11, 2022
@maleadt
Copy link
Member Author

maleadt commented Aug 11, 2022

The goal of this is to use PkgEval with a debug build (buildflags are put in Make.user, and it does make install):

@nanosoldier runtests(ALL, configuration = (buildflags=["JULIA_BUILD_MODE=debug"], rr=true))

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible issues were detected. A full report can be found here.

@maleadt
Copy link
Member Author

maleadt commented Aug 12, 2022

This needed some more fixes, here and in PkgEval:

@nanosoldier runtests(ALL, configuration = (buildflags=["JULIA_BUILD_MODE=debug"], julia_binary="julia-debug", rr=true))

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible issues were detected. A full report can be found here.

@maleadt maleadt marked this pull request as ready for review August 16, 2022 06:59
@maleadt
Copy link
Member Author

maleadt commented Aug 16, 2022

Looks like this works well.

@maleadt maleadt removed the request for review from vtjnash August 16, 2022 07:02
@maleadt maleadt merged commit ec98087 into master Aug 16, 2022
@maleadt maleadt deleted the tb/install_debug branch August 16, 2022 07:03
yuyichao added a commit to archlinuxcn/repo that referenced this pull request Aug 17, 2022
pcjentsch pushed a commit to pcjentsch/julia that referenced this pull request Aug 18, 2022
Replaces BUNDLE_DEBUG_LIBS, and fixes fixup-libstdc++.sh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make install with JULIA_BUILD_MODE=debug uses a release build
3 participants