-
Notifications
You must be signed in to change notification settings - Fork 259
Expand file tree
/
Copy pathbuild.sh
More file actions
executable file
·32 lines (29 loc) · 1.32 KB
/
build.sh
File metadata and controls
executable file
·32 lines (29 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
set -e
cd ../common/libnotify; make; cd -
crystal build bf.cr --release -o bin_cr --no-debug
g++ -flto -O3 -o bin_cpp bf.cpp -I../common/libnotify -L../common/libnotify -lnotify
rustc -C opt-level=3 -C lto bf.rs -o bin_rs
scalac bf.scala
mcs -debug- -optimize+ bf.cs
dotnet build brainfuck2.csproj -c Release
javac bf.java
kotlinc bf2.kt -include-runtime -jvm-target 12 -d bf2-kt.jar
go build -o bin_go bf.go
gccgo -O3 -g -o bin_go_gccgo bf.go
dmd -ofbin_d -O -release -inline bf.d
gdc -o bin_d_gdc -O3 -frelease -finline bf.d
ldc2 -ofbin_d_ldc -O5 -release bf.d
nim c -o:bin_nim_clang -d:danger --cc:clang --verbosity:0 bf.nim
nim c -o:bin_nim_gcc -d:danger --cc:gcc --verbosity:0 bf.nim
ghc -O2 -fforce-recomp bf.hs -o bin_hs
ghc -O2 -fforce-recomp bf-marray.hs -o bin_hs_marray
ocamlopt -unsafe unix.cmxa bf.ml -o bin_ocaml
dotnet build brainfuck2.fsproj -c Release
valac bf.vala --cc=gcc -D GCC_TEST --disable-assert -X -O3 --pkg gio-2.0 --pkg posix -o bin_vala_gcc
valac bf.vala --cc=clang -D CLANG_TEST --disable-assert -X -O3 --pkg gio-2.0 --pkg posix -o bin_vala_clang
mlton -output bin_sml bf.sml
v -prod -cc gcc -o bin_v_gcc bf.v
v -prod -cc clang -o bin_v_clang bf.v
gcc -O3 -o bin_c_gcc bf.c -I../common/libnotify -L../common/libnotify -lnotify
clang -O3 -o bin_c_clang bf.c -I../common/libnotify -L../common/libnotify -lnotify