Skip to content

Commit

Permalink
updated python and nuitka builds
Browse files Browse the repository at this point in the history
  • Loading branch information
BartMassey committed Feb 14, 2022
1 parent 2ae6113 commit dfff520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions erlang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

[ -d hipe ] || mkdir hipe
rm -rf *.beam
erl -make
erlc *.erl
mv *.beam hipe/

[ -d beam ] || mkdir beam
rm -rf *.beam
erl -make +native +o3
erlc +native +o3 *.erl
mv *.beam beam/
2 changes: 1 addition & 1 deletion python/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ pypy ttt.py 1 >/dev/null

# Compile Python code with Nuitka.
rm -rf ttt.bin ttt-nuitka ttt.build
nuitka3 --recurse-all --lto -j 1 --clang ttt.py && mv ttt.bin ttt-nuitka
nuitka3 --lto=yes --clang ttt.py && mv ttt.bin ttt-nuitka

0 comments on commit dfff520

Please sign in to comment.