22
22
Pascal_COMPILER := fpc
23
23
Scala_COMPILER := scalac
25
Bash_VERSION := $(shell bash --version | head -n 1 | cut -d " " -f 4 | sed 's/-release$$//')
26
C_VERSION := $(shell $(C_COMPILER) --version | head -n 1 | cut -d " " -f 4)
27
C++_VERSION := $(shell $(C++_COMPILER) --version | head -n 1 | cut -d " " -f 4)
28
Csharp_VERSION := $(shell $(Csharp_COMPILER) --version | head -n 1 | cut -d " " -f 5)
29
CShell_VERSION := $(shell dpkg-query --showformat='$${Version}' --show csh | sed 's/-.*$$//')
30
D_VERSION := $(shell $(D_COMPILER) --version | head -n 1 | cut -d " " -f 4)
31
Go_VERSION := $(shell $(Go_COMPILER) --version | head -n 1 | cut -d " " -f 4)
32
Haskell_VERSION := $(shell $(Haskell_COMPILER) --version | head -n 1 | cut -d " " -f 8)
33
Lua_VERSION := $(shell lua -v 2>&1 | head -n 1 | cut -d " " -f 2)
34
Java_VERSION := $(shell $(Java_COMPILER) -version 2>&1 | head -n 1 | cut -d " " -f 2)
35
Pascal_VERSION := $(shell $(Pascal_COMPILER) -h | head -n 1 | cut -d " " -f 5)
36
Perl_VERSION := $(shell perl --version | grep '.' | head -n 1 | sed 's/.*(v\(.*\)).*/\1/')
37
PHP_VERSION := $(shell php --version | head -n 1 | cut -d " " -f 2)
38
Python_VERSION := $(shell python --version 2>&1 | head -n 1 | cut -d " " -f 2)
39
Python3_VERSION := $(shell python3 --version 2>&1 | head -n 1 | cut -d " " -f 2)
40
Ruby_VERSION := $(shell ruby --version | head -n 1 | cut -d " " -f 2)
41
Scala_VERSION := $(shell $(Scala_COMPILER) -version 2>&1 | head -n 1 | cut -d " " -f 4)
42
Shell_VERSION := $(shell printf "(%s %s)" $(shell readlink /bin/sh) $(shell dpkg-query --showformat='$${Version}' --show $(shell readlink /bin/sh) | sed 's/-.*$$//'))
43
ZShell_VERSION := $(shell zsh --version | head -n 1 | cut -d " " -f 2)
25
Bash_VERSION = $(shell bash --version | head -n 1 | cut -d " " -f 4 | sed 's/-release$$//')
26
C_VERSION = $(shell $(C_COMPILER) --version | head -n 1 | cut -d " " -f 4)
27
C++_VERSION = $(shell $(C++_COMPILER) --version | head -n 1 | cut -d " " -f 4)
28
Csharp_VERSION = $(shell $(Csharp_COMPILER) --version | head -n 1 | cut -d " " -f 5)
29
CShell_VERSION = $(shell dpkg-query --showformat='$${Version}' --show csh | sed 's/-.*$$//')
30
D_VERSION = $(shell $(D_COMPILER) --version | head -n 1 | cut -d " " -f 4)
31
Go_VERSION = $(shell $(Go_COMPILER) --version | head -n 1 | cut -d " " -f 4)
32
Haskell_VERSION = $(shell $(Haskell_COMPILER) --version | head -n 1 | cut -d " " -f 8)
33
Lua_VERSION = $(shell lua -v 2>&1 | head -n 1 | cut -d " " -f 2)
34
Java_VERSION = $(shell $(Java_COMPILER) -version 2>&1 | head -n 1 | cut -d " " -f 2)
35
Pascal_VERSION = $(shell $(Pascal_COMPILER) -h | head -n 1 | cut -d " " -f 5)
36
Perl_VERSION = $(shell perl --version | grep '.' | head -n 1 | sed 's/.*(v\(.*\)).*/\1/')
37
PHP_VERSION = $(shell php --version | head -n 1 | cut -d " " -f 2)
38
Python_VERSION = $(shell python --version 2>&1 | head -n 1 | cut -d " " -f 2)
39
Python3_VERSION = $(shell python3 --version 2>&1 | head -n 1 | cut -d " " -f 2)
40
Ruby_VERSION = $(shell ruby --version | head -n 1 | cut -d " " -f 2)
41
Scala_VERSION = $(shell $(Scala_COMPILER) -version 2>&1 | head -n 1 | cut -d " " -f 4)
42
Shell_VERSION = $(shell printf "(%s %s)" $(shell readlink /bin/sh) $(shell dpkg-query --showformat='$${Version}' --show $(shell readlink /bin/sh) | sed 's/-.*$$//'))
43
ZShell_VERSION = $(shell zsh --version | head -n 1 | cut -d " " -f 2)
45
45
TIME := time -f "%e"
46
46
RUN := taskset -c 0 ./run 1000