mickel8

mickel8

Membrane Core Team

Publishing package with third party dependencies written in C (like boringssl)

Hi,
I am writing library that runs somoe code in C. This code uses some other code written in C e.g. boringssl. In my repository I have specified boringssl via git submodule and it’s okay for development phase. I can download it manualy with git submodule init .... Now I want to release this library so that user don’t have to install any C libs in his OS. I tried to publish source code of boringssl (and other third party C deps) with my lib but the size of packgae is too big (> 8 MB compressed). My question is how should I publish such package. Maybe I shouldn’t publish source files of boringssl and write own mix task to download needed files before compilation. But in this way user has to have installed git in his OS ( I need to clone somehow this repo using e.g. System.cmd()).

Most Liked

dimitarvp

dimitarvp

As for how you would do it in Docker, I could help you but can’t promise – waaaaay too busy. :frowning:

mickel8

mickel8

Membrane Core Team

Thanks for esqlite, I will take a look at it!

Regarding Rust, the goal is to build experimental wrapper around QUIC implementation so that you can use QUIC in Elixir and I have choosen C implementation mostly because I just wanted to learn programming in C :sweat_smile: I mean I’ve never never use/write any bigger project in C. I also wanted to use Unifex and Bundlex tools for connecting C and Elixir

dimitarvp

dimitarvp

Oh, I see. So it’s mostly a learning project.

Well, good luck! :023:

Where Next?

Popular in Questions Top

Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
hpopp
To simplify some tasks at work, I wrote and published this package yesterday. It’s a simple macro that enables Access behaviour on struct...
New
sabri
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size? Thanks
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list....
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement