forked from kanaka/mal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
c.2,make,perl6,ocaml,objpascal: update to ubuntu:24.04
c.2: By updating to 24.04 we get around an error with declarations after labels which is allowed in more recent compiler versions. make: With older make, the newer make code results in this error: ../make/readline.mk:13: *** unterminated call to function 'eval': missing ')'. Stop. Newer versions of make work fine. perl6: With older rakudo, this error occurs: user> (let* (DEBUG-EVAL false) (- 3 1)) Cannot resolve caller Numeric(types::MalFalse: ); none of these signatures match: ocaml: Fixes build error that happens with older versions of ocaml: ocamlopt -a types.ml reader.ml printer.ml env.ml core.ml -o mal_lib.cmxa File "env.ml", line 15, characters 8-21: Error: Unbound value Data.find_opt objpascal: With older compiler, the following error occurs: user> (apply str (seq "this is a test")) *** Error in `../objpascal/stepA_mal': corrupted size vs. prev_size: 0x000000000246c360 ***
- Loading branch information
Showing
5 changed files
with
16 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:bionic | ||
FROM ubuntu:24.04 | ||
MAINTAINER Duncan Watts <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,10 +9,8 @@ MAINTAINER Duncan Watts <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
|
||
# Some typical implementation and test requirements | ||
#RUN apt-get -y install curl | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
RUN mkdir -p /mal | ||
WORKDIR /mal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:24.04 | ||
MAINTAINER Joel Martin <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,7 +9,8 @@ MAINTAINER Joel Martin <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
# Some typical implementation and test requirements | ||
RUN apt-get -y install curl libreadline-dev libedit-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:24.04 | ||
MAINTAINER Joel Martin <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,7 +9,8 @@ MAINTAINER Joel Martin <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
# Some typical implementation and test requirements | ||
RUN apt-get -y install curl libreadline-dev libedit-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:24.04 | ||
MAINTAINER Joel Martin <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,7 +9,8 @@ MAINTAINER Joel Martin <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
# Some typical implementation and test requirements | ||
RUN apt-get -y install curl libreadline-dev libedit-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ubuntu:vivid | ||
FROM ubuntu:24.04 | ||
MAINTAINER Joel Martin <[email protected]> | ||
|
||
########################################################## | ||
|
@@ -9,10 +9,8 @@ MAINTAINER Joel Martin <[email protected]> | |
RUN apt-get -y update | ||
|
||
# Required for running tests | ||
RUN apt-get -y install make python | ||
|
||
# Some typical implementation and test requirements | ||
RUN apt-get -y install curl libreadline-dev libedit-dev | ||
RUN apt-get -y install make python3 | ||
RUN ln -fs /usr/bin/python3 /usr/local/bin/python | ||
|
||
RUN mkdir -p /mal | ||
WORKDIR /mal | ||
|
@@ -22,13 +20,4 @@ WORKDIR /mal | |
########################################################## | ||
|
||
# Perl6 build deps | ||
RUN apt-get -y install libfile-copy-recursive-perl build-essential git | ||
|
||
RUN curl -O http://rakudo.org/downloads/star/rakudo-star-2016.07.tar.gz && \ | ||
tar xzf rakudo-star-2016.07.tar.gz && \ | ||
cd rakudo-star-2016.07 && \ | ||
perl Configure.pl --prefix=/usr --gen-moar --gen-nqp --backends=moar && \ | ||
make && \ | ||
make install && \ | ||
cd .. && \ | ||
rm -rf rakudo-star-2016.07* | ||
RUN apt-get -y install rakudo |