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

make dbg config default build #478

Closed
barter-simsum opened this issue Jun 29, 2023 · 2 comments
Closed

make dbg config default build #478

barter-simsum opened this issue Jun 29, 2023 · 2 comments
Assignees

Comments

@barter-simsum
Copy link
Member

very simple change, but let's wait for #469 to merge.

a non-optimized debug build should be the default since it's the one devs
specify most often. Release/fully optimized builds should be a special case.

i.e.
bazel build :urbit ->
bazel build --compilation_mode=opt :urbit

bazel build --compilation_mode=dbg :urbit ->
bazel build :urbit

@barter-simsum barter-simsum self-assigned this Jun 29, 2023
@joemfb
Copy link
Member

joemfb commented Jun 29, 2023

i disagree, more people build urbit than debug with it, and the performance impact is pretty drastic. If you know how to debug, you're capable of deoptimizing ... ;)

@barter-simsum
Copy link
Member Author

you're right, I need to attend my runtime unconscious bias training. I guess a
lot of people building from source are just doing it to run hoon.

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

No branches or pull requests

2 participants