Task
jq-windows2
jq 1.8.1 is a command-line JSON utility for viewing and transforming JSON. Project link: github.com/jqlang/jq
Task:
Compile and install jq to a specific location. Cross-compile to Windows. This task is a variant of jq-windows, without a hint to do a static build.
Difficulties: Cross-compilation to Windows, setting up the cross-compilation toolchain (compilers, etc), making sure that there are no dynamic libraries.
Environment: Ubuntu 22.04 on amd64, with internet access.
Best attempt
| Model |
|
| Attempt |
r50ycqek99hix
|
| # of commands | 4 |
| Total time | 2m43s |
| Cost | $0.108 |
Terminal transcript >
compile-bench> sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential autoconf automake libtool mingw-w64 g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 bison flex wine bash: eval: line 4: syntax error near unexpected token `;&' bash: eval: line 4: `sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential autoconf automake libtool mingw-w64 g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 bison flex wine' compile-bench> sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential autoconf automake libtool mingw-w64 g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 bison flex wine Setting up g++-mingw-w64-i686-posix (10.3.0-14ubuntu1+24.3) ... Setting up g++-mingw-w64-i686 (10.3.0-14ubuntu1+24.3) ... Setting up g++-mingw-w64 (10.3.0-14ubuntu1+24.3) ... Setting up mingw-w64 (8.0.0-1) ... Processing triggers for libwine:amd64 (6.0.3~repack-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.10) ... compile-bench> tar -xzf jq.tar.gz && cd jq-1.8.1 && ./configure --host=x86_64-w64-mingw32 --enable-all-static && make && mkdir -p ~/result && cp jq.exe ~/result/ CC src/lexer.lo CC src/parser.lo CCLD libjq.la CCLD jq.exe make[2]: Leaving directory '/home/peter/jq-1.8.1' make[1]: Leaving directory '/home/peter/jq-1.8.1' compile-bench> wine ~/result/jq.exe --version 0098:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0098:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. Could not find Wine Gecko. HTML rendering will be disabled. wine: configuration in L"/home/peter/.wine" has been updated. jq-1.8.1
Model ranking
| # | Model | ||||
|---|---|---|---|---|---|
| 1 |
|
100%
|
16 (4.0x) | 3m15s (3.3x) | $0.024 (5.2x) |
| 2 |
|
100%
|
19 (4.8x) | 3m59s (4.0x) | $1.038 (229.0x) |
| 3 |
|
100%
|
23 (5.8x) | 2m12s (2.2x) | $0.131 (29.0x) |
| 4 |
|
100%
|
29 (7.2x) | 5m47s (5.8x) | $0.172 (37.9x) |
| 5 |
|
100%
|
37 (9.2x) | 3m0s (3.0x) | $0.352 (77.7x) |
| 6 |
|
100%
|
39 (9.8x) | 4m23s (4.4x) | $0.686 (151.3x) |
| 7 |
|
100%
|
41 (10.2x) | 3m15s (3.3x) | $0.347 (76.5x) |
| 8 |
|
100%
|
48 (12.0x) | 4m40s (4.7x) | $0.475 (104.9x) |
| 9 |
|
67%
|
4 (1.0x) | 2m43s (2.7x) | $0.108 (23.8x) |
| 10 |
|
67%
|
12 (3.0x) | 1m0s (1.0x) | $0.005 (1.0x) |
| 11 |
|
67%
|
13 (3.2x) | 2m11s (2.2x) | $0.113 (24.9x) |
| 12 |
|
67%
|
14 (3.5x) | 1m19s (1.3x) | $0.068 (15.1x) |
| 13 |
|
67%
|
21 (5.2x) | 1m59s (2.0x) | $0.042 (9.3x) |
| 14 |
|
67%
|
46 (11.5x) | 5m33s (5.6x) | $0.047 (10.4x) |
| 15 |
|
33%
|
23 (5.8x) | 2m6s (2.1x) | $0.032 (7.1x) |
| 16 |
|
33%
|
28 (7.0x) | 4m47s (4.8x) | $0.108 (23.8x) |
| 17 |
|
33%
|
38 (9.5x) | 3m9s (3.2x) | $0.823 (181.6x) |
| 18 |
|
33%
|
61 (15.2x) | 3m47s (3.8x) | $0.418 (92.3x) |
| 19 |
|
0%
|
|||
| 20 |
|
0%
|
|||
| 21 |
|
0%
|
|||
| 22 |
|
0%
|
|||
| 23 |
|
0%
|
|||
| 24 |
|
0%
|
Attempts
| Model | Attempt ID | Cost | Duration | Status / Error |
|---|---|---|---|---|
|
|
3m7r0nrztxoug
|
$1.430 | 4m45s | Success |
|
|
jflah8m45e70a
|
$1.038 | 3m59s | Success |
|
|
spz5e20yfjtxx
|
$0.858 | 2m46s | Success |
|
|
5idxmdfe0h6b8
|
$0.346 | 3m0s | Success |
|
|
phpjr0r1gsg3z
|
$0.384 | 3m54s | Success |
|
|
v8rgddc9yt0om
|
$0.352 | 2m44s | Success |
|
|
3iuxcwx93mhwu
|
$0.686 | 4m23s | Success |
|
|
3phfdclv9w074
|
$0.719 | 6m33s | Success |
|
|
h3qknoqo08hft
|
$0.454 | 4m2s | Success |
|
|
3dw4ho4ss6sgn
|
$0.333 | 2m37s | Success |
|
|
cx2mmauylnor4
|
$0.479 | 4m59s | Success |
|
|
x2uogd2w6yclh
|
$0.347 | 3m15s | Success |
|
|
1tfdq73q1fk8y
|
$0.475 | 4m58s | Success |
|
|
ezo18o6s4i94s
|
$0.211 | 2m33s | Success |
|
|
mq7rv2bmlytwh
|
$0.522 | 4m40s | Success |
|
|
8rk1oauc0ecjz
|
$0.418 | 3m47s | Success |
|
|
u5xl3rph1tzq7
|
$0.775 | 5m22s | Failure task failed: jq help does not contain expected string |
|
|
ucbwgcg8dl9ke
|
$0.424 | 4m28s | Failure task failed: jq help does not contain expected string |
|
|
9b19dszyr0l6d
|
$0.070 | 3m15s | Success |
|
|
b0is31o2uaha1
|
$0.044 | 1m43s | Failure task failed: jq.exe binary does not exist |
|
|
qzejejz6vy6e9
|
$0.042 | 1m59s | Success |
|
|
9mkvm7dl9sgdq
|
$0.014 | 1m25s | Failure task failed: jq.exe binary does not exist |
|
|
dbjy65z68wg2w
|
$0.063 | 3m21s | Failure task failed: jq help does not contain expected string |
|
|
kqylyry031dti
|
$0.018 | 2m6s | Failure task failed: jq.exe binary does not exist |
|
|
61inpuunyal2v
|
$0.030 | 2m26s | Failure task failed: jq.exe binary does not exist |
|
|
8qz0u1ruhvp3l
|
$0.067 | 3m36s | Failure task failed: jq help does not contain expected string |
|
|
dw05qdcz6mafj
|
$0.020 | 1m26s | Failure task failed: jq.exe binary does not exist |
|
|
4jvvi54a2wo0g
|
$0.113 | 2m55s | Success |
|
|
7pizx91bf9e9t
|
$0.142 | 2m11s | Success |
|
|
iov46x3g3v1vr
|
$0.140 | 2m51s | Failure task failed: jq help does not contain expected string |
|
|
fxs27lhyaa7ay
|
$0.301 | 4m38s | Failure task failed: jq help does not contain expected string |
|
|
gslrwvwftc8fz
|
$0.272 | 4m9s | Failure task failed: jq help does not contain expected string |
|
|
scukih22zfz49
|
$0.044 | 1m44s | Failure task failed: jq help does not contain expected string |
|
|
7d03rg0kg9tpw
|
$0.068 | 1m28s | Success |
|
|
apjvc6zkvpgxk
|
$0.175 | 2m24s | Failure task failed: jq help does not contain expected string |
|
|
gcwh0k2nic3t1
|
$0.094 | 1m19s | Success |
|
|
2tzmylmf760ao
|
$0.022 | 2m3s | Failure task failed: jq help does not contain expected string |
|
|
80hvhaadxr0t2
|
$0.032 | 2m6s | Success |
|
|
fe91iqj9w2773
|
$0.023 | 2m10s | Failure task failed: jq help does not contain expected string |
|
|
mqsax08l98lcs
|
$0.105 | 2m12s | Success |
|
|
w7q82d7srjvbn
|
$0.131 | 2m9s | Success |
|
|
zvi2p6q1adjs2
|
$0.150 | 2m35s | Success |
|
|
1eibpeqrnuuzi
|
$0.587 | 14m52s | Success |
|
|
ezim8wto7e4wd
|
$0.172 | 5m47s | Success |
|
|
oy6bk2cxohfto
|
$0.118 | 3m56s | Success |
|
|
3n96kgbihk6y6
|
$0.023 | 2m51s | Success |
|
|
k2n8hpdhjd06s
|
$0.024 | 3m15s | Success |
|
|
otw5y3d9t22ct
|
$0.029 | 4m31s | Success |
|
|
9mdmis9v2p3un
|
$0.005 | 1m3s | Failure task failed: jq help does not contain expected string |
|
|
esxol272taxki
|
$0.012 | 2m22s | Failure task failed: jq help does not contain expected string |
|
|
mpfnoe17z75um
|
$0.008 | 1m4s | Failure task failed: jq help does not contain expected string |
|
|
00d9c596c8819
|
$0.071 | 2m22s | Failure task failed: jq help does not contain expected string |
|
|
7sodtoqizckoq
|
$0.073 | 2m9s | Failure task failed: jq.exe is not an amd64 Windows executable |
|
|
hkp1ulbssxdzo
|
$0.108 | 4m47s | Success |
|
|
8rc6gumr2ht0h
|
$0.045 | 2m41s | Failure task failed: jq help does not contain expected string |
|
|
qxe40hr04zrac
|
$0.035 | 39m57s | Failure context timeout: context deadline exceeded |
|
|
wupyy9lfeljzo
|
$0.008 | 57s | Failure task failed: jq.exe binary does not exist |
|
|
bedwzggytaupw
|
$0.313 | 5m58s | Success |
|
|
fdnj8zihhkeg2
|
$2.146 | 15m26s | Failure task failed: jq help does not contain expected string |
|
|
r50ycqek99hix
|
$0.108 | 2m43s | Success |
|
|
l0fy1is9tjoh1
|
$0.073 | 5m33s | Success |
|
|
ol85id0dnba7l
|
$0.047 | 6m48s | Success |
|
|
wfspktls83u2b
|
$0.038 | 4m57s | Failure task failed: jq help does not contain expected string |
|
|
0nhakz9z05wsz
|
$0.024 | 3m19s | Failure task failed: jq help does not contain expected string |
|
|
ohsb510x2a9j8
|
$0.016 | 22m44s | Success |
|
|
owx78q1z96qmw
|
$0.005 | 1m0s | Success |
|
|
s77roz2lav43n
|
$0.579 | 2m56s | Failure task failed: jq help does not contain expected string |
|
|
uppof1prqd2dw
|
$0.823 | 3m9s | Success |
|
|
wozk03ug7yssz
|
$0.445 | 2m45s | Failure task failed: jq help does not contain expected string |
|
|
e2zugiboqctc4
|
$0.085 | 2m5s | Failure task failed: jq.exe binary does not exist |
|
|
jqt0kgbah6131
|
$0.164 | 2m24s | Failure task failed: jq.exe binary does not exist |
|
|
r1sjeto6ztci8
|
$0.124 | 2m6s | Failure task failed: jq.exe binary does not exist |