Skip to content

Build OTS with CMake - #11

Merged
bors-servo merged 5 commits into
servo:masterfrom
khaledhosny:ots-cmake
Aug 18, 2016
Merged

bors-servo merged 5 commits into
servo:masterfrom
khaledhosny:ots-cmake

Conversation

@khaledhosny

@khaledhosny khaledhosny commented Aug 2, 2016 •

Copy link
Copy Markdown
Contributor

This is a crude attempt to use CMake to build OTS, which should hopefully help unbreak servo/servo#11649. I appreciate any feedback since I’m neither familiar with rust build system nor CMake.

I also took the opportunity to update OTS to the latest version (which made it easier to just copy the file lists from upstream Makefile.am).


This change is Reviewable

@khaledhosny

Copy link
Copy Markdown
Contributor Author

Travis build is failing because of the lack of C++11 support (needed for woff2 module), I’m not sure if it is a limitation of the GCC version on Travis or my CMake skills.

@khaledhosny

Copy link
Copy Markdown
Contributor Author

I managed to fix the C++11 issue on Travis by using GCC 4.8.

@jdm

jdm commented Aug 2, 2016

Copy link
Copy Markdown
Member

r? @metajack

@metajack

Copy link
Copy Markdown

examples/check-font.rs has an unused import. Otherwise this is good to go!

r=me

@khaledhosny

Copy link
Copy Markdown
Contributor Author

That unused import was there from the start AFAICT.

@metajack

Copy link
Copy Markdown

@bors-servo r+

@bors-servo

Copy link
Copy Markdown

📌 Commit d940413 has been approved by metajack

@bors-servo

Copy link
Copy Markdown

⚡ Test exempted - status

@bors-servo
bors-servo merged commit d940413 into servo:master Aug 18, 2016
bors-servo pushed a commit that referenced this pull request Aug 18, 2016
Build OTS with CMake

This is a crude attempt to use CMake to build OTS, which should hopefully help unbreak servo/servo#11649. I appreciate any feedback since I’m neither familiar with rust build system nor CMake.

I also took the opportunity to update OTS to the latest version (which made it easier to just copy the file lists from upstream Makefile.am).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/fontsan/11)
<!-- Reviewable:end -->
@metajack

Copy link
Copy Markdown

We'll fix it in a followup then.

@khaledhosny
khaledhosny deleted the ots-cmake branch August 20, 2016 23:28
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.

4 participants