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 some comments to Make.inc that explicitly define what we mean when we say "assert build of Julia" #43732

Merged
merged 3 commits into from
Jan 12, 2022

Conversation

DilumAluthge
Copy link
Member

I figure we should explicitly write down the definition of "assert build of Julia". In this PR, I've done so in the form of comments in the Make.inc file. If desired, I can also add a sentence or two somewhere in the devdocs.

@DilumAluthge DilumAluthge added domain:docs This change adds or pertains to documentation domain:building Build system, or building Julia or its dependencies labels Jan 10, 2022
@DilumAluthge
Copy link
Member Author

@staticfloat I went ahead and added a few sentences to the devdocs about assert builds. Let me know if that looks okay, or if you'd prefer we just stick to the comments in Make.inc.

```
git clone https://github.com/JuliaLang/julia.git
cd julia
make FORCE_ASSERTIONS=1 LLVM_ASSERTIONS=1
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

I normally recommend setting them in Make.user so that when you recompile you don't suddenly lose the assert nature.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good call. I'll make that change.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done! @vchuravy can you double check that the syntax is correct?

@vtjnash vtjnash merged commit 0968929 into master Jan 12, 2022
@vtjnash vtjnash deleted the dpa/make-inc-comments-assert-builds branch January 12, 2022 00:47
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
…hen we say "assert build of Julia" (JuliaLang#43732)

* Add some comments to `Make.inc` that explicitly define what we mean when we say "assert build of Julia"
* Add a brief note to the devdocs with instructions on how to build an "assert build" of Julia
* Recommend putting the variables into the `Make.user` file
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
…hen we say "assert build of Julia" (JuliaLang#43732)

* Add some comments to `Make.inc` that explicitly define what we mean when we say "assert build of Julia"
* Add a brief note to the devdocs with instructions on how to build an "assert build" of Julia
* Recommend putting the variables into the `Make.user` file
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 domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants