Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Prepare Precompilation #4

Merged
merged 42 commits into from
May 18, 2022
Merged

Prepare Precompilation #4

merged 42 commits into from
May 18, 2022

Conversation

filipecabaco
Copy link
Contributor

Gets everything ready to use precompiled NIFs based on https://github.com/tessi/wasmex

@filipecabaco filipecabaco requested a review from tessi May 17, 2022 07:02
@tessi
Copy link
Member

tessi commented May 17, 2022

while you borrow the CI setup from wasmex, can I ask you to borrow everything, please? :D (including lints, tests, compatibility tests)

Filipe added 2 commits May 17, 2022 13:58
Gets everything ready to use precompiled NIFs based on https://github.com/tessi/wasmex
@tessi tessi force-pushed the precompiled-binary branch 3 times, most recently from 8eb798c to e41799d Compare May 18, 2022 09:53
.github/dependabot.yml Outdated Show resolved Hide resolved
Comment on lines +56 to +60
arm-unknown-linux-*) sudo apt-get -y update ; sudo apt-get -y install gcc-arm-linux-gnueabihf; sudo dpkg --add-architecture armhf; sudo apt-get update || true; sudo apt-get -y install libpoppler-glib-dev:armhf libpoppler-dev:armhf libcairo2-dev:armhf libglib2.0-dev:armhf; export PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig;;
aarch64-unknown-linux-gnu) sudo apt-get -y update ; sudo apt-get -y install gcc-aarch64-linux-gnu; sudo dpkg --add-architecture arm64; sudo apt-get update || true; sudo apt-get -y install libpoppler-glib-dev:arm64 libpoppler-dev:arm64 libcairo2-dev:arm64 libglib2.0-dev:arm64;;
aarch64-apple-darwin) NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; brew install gnu-tar poppler; sudo ln -s $(brew --prefix)/opt/gnu-tar/libexec/gnubin/tar /usr/local/bin/tar;;
x86_64-apple-darwin) NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; brew install poppler;;
*) sudo apt-get -y update ; sudo apt-get -y install libpoppler-glib-dev libpoppler-dev libcairo2-dev libglib2.0-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is still somewhat messy and covers archs we don't currently support. But it "documents" some of the fixes we attempted. not sure if we should leave it in case we're extending arch support or not

README.md Outdated Show resolved Hide resolved
mix.exs Show resolved Hide resolved
mix.exs Show resolved Hide resolved
@tessi
Copy link
Member

tessi commented May 18, 2022

maybe not for this PR, but we still need a license 🤔

@filipecabaco filipecabaco merged commit 1c4a7e0 into main May 18, 2022
@filipecabaco filipecabaco deleted the precompiled-binary branch May 18, 2022 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants