You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Figure out how to properly build/bundle dependencies #125
GLFW on OS X/Linux: We need the 3.1/master version because it supports glfwPostEmptyEvent. This is not released yet and
libcurl: For non-OS-X platforms (this one has a slew of SSL dependencies)
Building all dependencies
Dane got us started with using the mapnik-packaging scripts to build cross-platform (OS X + iOS) libpng libraries. I'm not sure what the best way to proceed here is: Do we build all of our dependencies ourselves (could get very ugly for libcurl), or do we try to link to as many system- or package management provided binaries as possible?
Do we build all of our dependencies ourselves (could get very ugly for libcurl)
Yes, I think we do. I have no fear with libcurl. I will crush libcurl.
The main question in my mind is whether we try to gypify all the things or depend on shell scripted pre-builds (using the build system that comes with a given dep) and then just expect built binaries to be available on CXXFLAGS/LDFLAGS (the approach of mapnik-packaging). I think we start with the latter and aim for the former eventually or when dead easy (libuv). What this means to me is that in the near term:
Add libuv to mapnik-packaging (difficulty: should be easy)
Add libcurl (and deps) to mapnik-packaging (difficulty: we'll see)
Add GLFW to mapnik-packaging (difficulty: no idea)
Add a bootstrap script to build all the deps for a given platform and modify the gyp configs for llmr to expect them
We have the static library building in place now, but it takes a very long time to build all of it on travis. Instead, we should look into shipping pre-built binaries for Ubuntu (PPA?) and Mac OS X (custom hombrew tap).
Sounds like you are working on something like this already (from chat logs) but I've been feeling like just tarring up the build-* Mapnik-packaging creates would be a good next step. Then our llmr install instructions could depend on pulling down that folder of headers and prebuilt static libs for each platform.
Correct me if I'm wrong, but this should be either a) closed or b) at least ok for the WWDC milestone since we can get up and running on iOS/OS X no problem with current scripts.
Activity
incanus commentedon Apr 2, 2014
Add
x86_64for iOS, as there is also a 64-bit simulator mode (so that's five architectures for iOS).springmeyer commentedon Apr 4, 2014
Yes, I think we do. I have no fear with libcurl. I will crush libcurl.
The main question in my mind is whether we try to gypify all the things or depend on shell scripted pre-builds (using the build system that comes with a given dep) and then just expect built binaries to be available on CXXFLAGS/LDFLAGS (the approach of mapnik-packaging). I think we start with the latter and aim for the former eventually or when dead easy (libuv). What this means to me is that in the near term:
kkaefer commentedon Apr 4, 2014
Building GLFW is fairly straightforward. I'm doing it as part of https://github.com/mapbox/llmr-native/tree/uv
kkaefer commentedon Apr 4, 2014
@springmeyer Can we talk through this next week when we're in DC?
springmeyer commentedon Apr 4, 2014
Sounds great @kkaefer
springmeyer commentedon Apr 9, 2014
progress: libuv, openssl, curl, and glfw are now building well on osx, travis (ubuntu), and ios via in mapnik-packaging. Also a new
linarotarget is roughed out that should be a good starting point for targetingtegra. Next step is integration into llmr-native via a bootstrap script that builds on https://github.com/mapbox/llmr-native/blob/master/ios/setup_libpng.sh.kkaefer commentedon Apr 9, 2014
Thanks, @springmeyer! I'm working on the integration in the libuv branch.
kkaefer commentedon Apr 17, 2014
We have the static library building in place now, but it takes a very long time to build all of it on travis. Instead, we should look into shipping pre-built binaries for Ubuntu (PPA?) and Mac OS X (custom hombrew tap).
springmeyer commentedon Apr 17, 2014
Sounds like you are working on something like this already (from chat logs) but I've been feeling like just tarring up the build-* Mapnik-packaging creates would be a good next step. Then our llmr install instructions could depend on pulling down that folder of headers and prebuilt static libs for each platform.
incanus commentedon May 26, 2014
Correct me if I'm wrong, but this should be either a) closed or b) at least ok for the WWDC milestone since we can get up and running on iOS/OS X no problem with current scripts.
yhahn commentedon May 30, 2014
@springmeyer @incanus final review and then move out of milestone or close : )
springmeyer commentedon May 31, 2014
This is all wrapped up - the magic/chaos all lives in setup-libraries.sh and can be run with
make setup. Closing. Followup at #291Merge pull request #125 from mapbox/failed-requests
maplibre support for Qt6 and MSVC 2019 (mapbox#125)