-
Notifications
You must be signed in to change notification settings - Fork 0
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
Linux Support #1
Conversation
+ } |
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.
This was actually preventing me from applying the patch on Linux. GNU patch doesn't support no endline.
@@ -250,7 +263,7 @@ impl CompilerWrapper for ClangWrapper { | |||
return Ok(args); | |||
} | |||
|
|||
if !self.passes.is_empty() { | |||
if !self.passes.is_empty() && cfg!(target_vendor = "apple") { | |||
args.push("-fno-experimental-new-pass-manager".into()); |
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.
This is no longer necessary on Linux (>9.0.0 LLVM)
|
||
# allow for symlinks | ||
outdir="$(dirname "$(dirname "$PWD")")"/out/jif |
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.
This allows you to symbolically link jif into the chromium source tree.
@@ -4,7 +4,8 @@ | |||
|
|||
* setup a chromium repo: https://www.chromium.org/developers/how-tos/get-the-code | |||
* note that this will take several hours | |||
* `mv jif $root/chromium/src/headless/jif` | |||
* you MUST use revision: fc68e53944be7 |
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.
unmanageable and utter agony
It works! |
WIP, haven't actually built this yet (as discussed in DMs)