Comments (5)
@springmeyer Should we just switch Android to binary libz as part of system-lib purge?
from mason.
the verison check utility
This utility I've found is quite brittle/non-starter when cross-compiling. I think we should consider alternatives, but I've not looked closely yet at what depends on it.
springmeyer Should we just switch Android to binary libz as part of system-lib purge?
libz is the one library I've found to be viable to use dynamically and still be portable. I presume Android provides it? If so what would it take to reliably use the Android zlib without conflicting others on the host machine?
from mason.
@springmeyer it should be possible to set sysroot and tell compiler to not search default locations?
from mason.
I will move to non-system libz
from mason.
it should be possible to set sysroot and tell compiler to not search default locations?
Yes, but that is brittle. In my experience it is far more predictable to only put on the compiler/linker paths custom directories you want to link to as discussed in #65 and achieved by using symlinks to system files into a custom directory. You can also set C_INCLUDE_PATH
, CPLUS_INCLUDE_PATH
, and LIBRARY_PATH
to that custom directory to help the compiler prefer them over system directories. Let's hope this gets solved eventually by c++17: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4214.pdf
from mason.
Related Issues (20)
- [[llvm] Clearly document the OS X requirement for full XCode installation HOT 1
- OSX: warn when `MASON_XCODE_ROOT` does not exist HOT 1
- Package LLVM 6.0.0 HOT 1
- Create a libc++ package
- Detect between gitsha and tag HOT 3
- c++ headers inside clang++ 5.0.1 are not a symlink
- libpng system package is broken
- Use base docker image for CI builds HOT 1
- Package LLVM 7.x HEAD
- mason cache-clear command
- pre-trigger gutcheck
- Travis build notifications sent to wrong person
- Check that SQLite is built with HAVE_USLEEP=1
- Publish a release HOT 3
- 0.20.0 release HOT 2
- add script for GDAL 2.4 HOT 4
- ccache 3.7.2 script sets MASON_VERSION=3.7.1 HOT 1
- Message following "Updating binary package" doesn't make sense HOT 3
- Use a corporate proxy server HOT 2
- libpng 1.6.32 down to older-release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mason.