-
Notifications
You must be signed in to change notification settings - Fork 2.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
fix(windows): build all dependencies with proper cpu target #10884
Conversation
src/output.zig
Outdated
@@ -16,7 +16,7 @@ const SystemTimer = @import("./system_timer.zig").Timer; | |||
|
|||
// These are threadlocal so we don't have stdout/stderr writing on top of each other | |||
threadlocal var source: Source = undefined; | |||
threadlocal var source_set: bool = false; | |||
pub threadlocal var source_set: bool = false; |
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.
does this need to be pub?
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.
the goal was to make crash_handler not use output if the source was not set, but i didn't keep that behavior.
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.
okay so can we remove this change?
What does this PR do?
Fixes #10856
Fixes #10435
Fixes #10460
Fixes #10545
Fixes #10546
Fixes #10547
Fixes #10578
Fixes #10583
Fixes #10615
Fixes #10629
Fixes #10700
Fixes #10755
Fixes #10756
For #10788, this will resolve their third point.
Fixes #10790
Fixes #10798
Fixes #10841
Fixes #10853
Besides 10788, all of the above are the same exact issue report.
What went wrong is when compiling dependencies is the logic in every dependency script is
This overrides the baseline state of the shell to haswell, which will unintentionally compile newer code for older cpus.
We also never even tried compiling tcc correctly. The proper flags are added.
When using SDE, I noticed a very odd failure reported in
WTF::initialize
, which names the current thread. This applies for any JS entrypoint, which is different from the mostly install-related ones above (makes sense, sincelibarchive
is a notable dependency, while the js runtime in general is mostly just JSC + our own code + simdutf). I dont think the change in JSC is significant but it is definetly on the safer side to do this.