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

Linux Support #1

Merged
merged 1 commit into from
Jan 7, 2023
Merged

Linux Support #1

merged 1 commit into from
Jan 7, 2023

Conversation

addisoncrump
Copy link
Collaborator

WIP, haven't actually built this yet (as discussed in DMs)

+ }
Copy link
Collaborator Author

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());
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

unmanageable and utter agony

@addisoncrump
Copy link
Collaborator Author

It works!

@jhertz jhertz merged commit aa43cf5 into jif Jan 7, 2023
@jhertz jhertz deleted the jif-linux branch January 11, 2023 06:04
@jhertz jhertz restored the jif-linux branch January 11, 2023 06:38
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

Successfully merging this pull request may close these issues.

2 participants