Skip to content

Conversation

@michaelsproul
Copy link
Member

Proposed Changes

A user on Discord reported build issues when trying to compile Lighthouse checked out to a path with spaces in it. I've fixed the issue upstream in leveldb-sys (skade/leveldb-sys#22), but rather than waiting for a new release of the leveldb crate, we can also work around the issue by disabling Snappy in LevelDB, which we weren't using anyway.

This may also have the side-effect of slightly improving compilation times, as LevelDB+Snappy was found to be a substantial contributor to build time (although I'm not sure how much was LevelDB and how much was Snappy).

@michaelsproul michaelsproul added ready-for-review The code is ready for review infra-ci A0 labels Nov 27, 2020
@paulhauner paulhauner added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Nov 27, 2020
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

Nice one!

@michaelsproul
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Nov 27, 2020
## Proposed Changes

A user on Discord reported build issues when trying to compile Lighthouse checked out to a path with spaces in it. I've fixed the issue upstream in `leveldb-sys` (skade/leveldb-sys#22), but rather than waiting for a new release of the `leveldb` crate, we can also work around the issue by disabling Snappy in LevelDB, which we weren't using anyway.

This may also have the side-effect of slightly improving compilation times, as LevelDB+Snappy was found to be a substantial contributor to build time (although I'm not sure how much was LevelDB and how much was Snappy).
@bors
Copy link

bors bot commented Nov 27, 2020

Build failed:

@michaelsproul
Copy link
Member Author

Racy test :(

bors retry

bors bot pushed a commit that referenced this pull request Nov 27, 2020
## Proposed Changes

A user on Discord reported build issues when trying to compile Lighthouse checked out to a path with spaces in it. I've fixed the issue upstream in `leveldb-sys` (skade/leveldb-sys#22), but rather than waiting for a new release of the `leveldb` crate, we can also work around the issue by disabling Snappy in LevelDB, which we weren't using anyway.

This may also have the side-effect of slightly improving compilation times, as LevelDB+Snappy was found to be a substantial contributor to build time (although I'm not sure how much was LevelDB and how much was Snappy).
@bors
Copy link

bors bot commented Nov 27, 2020

@bors bors bot changed the title Disable snappy in LevelDB to fix build issues [Merged by Bors] - Disable snappy in LevelDB to fix build issues Nov 27, 2020
@bors bors bot closed this Nov 27, 2020
@michaelsproul michaelsproul deleted the disable-leveldb-snappy branch December 1, 2020 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0 infra-ci ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants