-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add elixir #117
Add elixir #117
Conversation
@@ -38,7 +38,8 @@ def path(self) -> Path: | |||
"swift", | |||
"rkt", | |||
"ml", | |||
"hs" | |||
"hs", | |||
"elixir", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe use ex?
"elixir", | |
"ex", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense
Currently for the results file I checked everything was timing out even though when I wrote one program to a file and ran locally it worked. Working on fixing that and renaming to |
Awesome! Thanks for writing this. I am happy to merge when you say its ready. Two comments:
|
Thank you for taking the time to review.
|
Here are the generations and results: results.zip. Happy with the generation for now and will rerun with the refactored eval on a faster machine. |
Sorry misclick on the close. |
Wonderful! Happy to merge. :) |
@mvkvc I'm trying to put out a release with Elixir support. I am getting this error:
This is how Elixir is installed:
|
The following installs Erlang 26.2.3 and Elixir 1.16.2: # Erlang
RUN wget https://binaries2.erlang-solutions.com/ubuntu/pool/contrib/e/esl-erlang/esl-erlang_26.2.3-1~ubuntu~jammy_amd64.deb -O /tmp/erlang.deb && dpkg -i /tmp/erlang.deb
# Elixir
RUN wget https://binaries2.erlang-solutions.com/ubuntu/pool/contrib/e/elixir/elixir_1.16.2_1_otp_26.2.3~ubuntu~jammy_all.deb -O /tmp/elixir.deb && dpkg -i /tmp/elixir.deb |
Just for reference, here are instructions for installing the latest versions (Erlang 27.0 and Elixir 1.17.2): # Install Erlang
RUN mkdir -p /erlang && \
cd /erlang && \
wget -nv -O erlang.tar.gz https://builds.hex.pm/builds/otp/ubuntu-22.04/OTP-27.0.tar.gz && \
tar xzf erlang.tar.gz --strip-components=1 && \
./Install -minimal "$(pwd)"
# Erlang runtime dependencies, see https://github.com/hexpm/bob/blob/4fe43eb9853bb95dbfe276957bd7d3f931a451b3/priv/scripts/docker/erlang-ubuntu-jammy.dockerfile
RUN apt-get update && \
apt-get -y --no-install-recommends install \
ca-certificates \
libodbc1 \
libssl3 \
libsctp1
# Install Elixir
RUN mkdir -p /elixir && \
cd /elixir && \
wget -nv -O elixir.zip https://builds.hex.pm/builds/elixir/v1.17.2-otp-27.zip && \
unzip -q elixir.zip
ENV PATH="/erlang/bin:/elixir/bin:${PATH}"
ENV LANG=C.UTF-8 These are more verbose, but allow for installing latest versions, because the upstream builds are automated. |
I have deleted my comment because @jonatanklosko's recommendations are better. :) |
Thank you @jonatanklosko @josevalim! |
No description provided.