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

Remove cmake usage. #424

Merged
merged 1 commit into from May 2, 2018
Merged

Remove cmake usage. #424

merged 1 commit into from May 2, 2018

Conversation

@jdm
Copy link
Member

jdm commented May 1, 2018

This change addresses https://lists.mozilla.org/pipermail/dev-platform/2018-April/021589.html but would require uplifting to mozilla-central for their build to benefit from it.


This change is Reviewable

@jdm
Copy link
Member Author

jdm commented May 1, 2018

@jdm jdm force-pushed the nocmake branch from 0a0f1e1 to b96763c May 1, 2018
Copy link
Member

asajeffrey left a comment

Just some minor nits, otherwise looks good!

build.rs Outdated
let mut build = cc::Build::new();
build
.file("src/jsglue.cpp")
.include(&format!("{}/dist/include", env::var("DEP_MOZJS_OUTDIR").unwrap()));

This comment has been minimized.

@asajeffrey

asajeffrey May 1, 2018

Member

Use PathBuf for this?

build.rs Outdated
build.flag_if_supported("-Wno-c++0x-extensions");
build.flag_if_supported("-Wno-return-type-c-linkage");
build.flag_if_supported("-Wno-invalid-offsetof");

This comment has been minimized.

@asajeffrey

asajeffrey May 1, 2018

Member

Do you not also need -Wno-unused-parameter?

@jdm jdm force-pushed the nocmake branch from b96763c to 52554a6 May 2, 2018
@jdm
Copy link
Member Author

jdm commented May 2, 2018

@bors-servo r=asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented May 2, 2018

📌 Commit 52554a6 has been approved by asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented May 2, 2018

Testing commit 52554a6 with merge 822e0fb...

bors-servo added a commit that referenced this pull request May 2, 2018
Remove cmake usage.

This change addresses https://lists.mozilla.org/pipermail/dev-platform/2018-April/021589.html but would require uplifting to mozilla-central for their build to benefit from it.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/424)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 2, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: asajeffrey
Pushing 822e0fb to master...

@bors-servo bors-servo merged commit 52554a6 into master May 2, 2018
5 checks passed
5 checks passed
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.