Comments (4)
- Check if possible to enable static builds of conan-readline on macOS
For the item above, I looked around and could not find options to build readline statically for osx. Using the conan dylib readline libs is causing issues as openstudio cli has references to the libhistory.dylib and libreadline.dylib at runtime, so running the cli on another machine that does not have these, it crashes.
e.g.
$ openstudio openstudio_version
dyld: Library not loaded: /Users/jenkins/.conan/data/readline/7.0/bincrafters/stable/package/988863d075519fe477ab5c0452ee71c84a94de8a/lib/libhistory.7.dylib
If we can't build static readline, then I think we need to ship these dylibs with the cli. Conan has a guide on how to modify rpath and import the dylibs. I think this would work but maybe use this as last resort if we can't get static conan readline to work? Or we could use the brew version of readline that does have static.
For now I think we should fall back to using the brew readline version that has static lib.
from conan-openstudio-ruby.
- use conan SWIG: A week or two ago a swig_installer package was published on bincrafters, with SWIG 4.0 (cf bintray, inclusion request, github repo)
- Not sure if SWIG 4.0 would create problems, given that we currently use 3.0.12, cf 4.0 release notes here: https://github.com/swig/swig/blob/master/RELEASENOTES#L10:L37
- "C++11 STL containers added for Java, Python and Ruby." > this might clash with the custom stuff we had to do before.
from conan-openstudio-ruby.
I've been wanting to try out the SWIG 4 release. I think we can try that out now once we have a good baseline of develop3 to compare against. I'm not sure that anyone has tried the C# bindings in develop3 yet.
from conan-openstudio-ruby.
For conan-readline on mac as static, I tweaked the conan-readline recipe, and I have not seen any side effects of building static readline yet. cf bincrafters/conan-readline#8
I then proceeded to get conan-openstudio-ruby to use my fork of readline static, and that builds and links correctly as well, and test_package works as before, #17
I will test a full OpenstudioApplication build now to check if that solves our homebrew dependency.
- I set up a branch of OpenStudio, https://github.com/NREL/OpenStudio/tree/test_static_readline_mac, that uses that fork of conan-openstudio-ruby
- I then set up a branch of OpenStudioApplication also named test_static_readline_mac that tracks this OpenStudio branch test_static_readline_mac...
- So CI should try to build this, and we can see how mac is doing and test the resulting package
So to recap:
conan-readline > NREL/conan-openstudio-ruby:test_static_readline_mac > NREL/OpenStudio:test_static_readline_mac > NREL/OpenStudioApplication:test_static_readline_mac
from conan-openstudio-ruby.
Related Issues (13)
- Add CI HOT 7
- Build and publish Debug packages on Windows HOT 4
- Fix dbm problems on Ubuntu / Travis HOT 4
- Add test_package that mimics our CLI HOT 1
- Fix or remove bundle_tests in test_package HOT 3
- Revert ruby_installer to bincrafters/stable
- Patch source win32/Makefile.sub to use MSC_VER range instead of hardcoded one HOT 3
- Move Conan remote and use GH actions HOT 1
- The OpenStudioLabs project requires position independent code HOT 1
- Port to conan 2.0
- Compute the list of .rb files at package generation time and install it in the package folder HOT 1
- Update swig to 4.1.0 in test_package
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 conan-openstudio-ruby.