Giter Club home page Giter Club logo

Comments (4)

tijcolem avatar tijcolem commented on August 27, 2024
  • 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.

jmarrec avatar jmarrec commented on August 27, 2024

from conan-openstudio-ruby.

macumber avatar macumber commented on August 27, 2024

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.

jmarrec avatar jmarrec commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.