Coder Social home page Coder Social logo

Comments (2)

coltfred avatar coltfred commented on July 19, 2024

I started this work over on the osx_build branch. I renamed the library to ironoxide.

We need to change crate-type to staticlib on the machine that's doing the ironoxide ios build (which must be on OSX).

After setting up the crate-type, we should install cargo-lipo. Then we should run cargo lipo --release in the cpp dir. Once we do that, we should upload it to the release as ironoxide_ios.a.

We want to do the ios suffix in the release so if we produce a different lib later which is statically linked we can handle it.

from ironoxide-swig-bindings.

coltfred avatar coltfred commented on July 19, 2024

Instead of just uploading the .a file for ios, we'll instead want to make a single tar which will be the thing that our homebrew recipe will download.

The form of the tar should be this:

├── headers
├── ironoxide.pc.in
└── libironoxide.a

headers is a dir with all the headers (the files from cpp/generated/sdk)
ironoxide.pc.in is a file with the following in it:

prefix=%PREFIX%
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib

Name: ironoxide
Description: The ironoxide library
Version: 0.13.1
Cflags: -I${includedir}/ironoxide
Libs: -L${libdir} -lironoxide

We should tar this up and call it ironoxide-homebrew.tar.gz.

from ironoxide-swig-bindings.

Related Issues (20)

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.