forked from hanabi1224/Programming-Language-Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bench_c.yaml
53 lines (53 loc) · 940 Bytes
/
bench_c.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
lang: c
problems:
- name: helloworld
source:
- 1.c
# - name: binarytrees
# source:
# - 2.c
- name: knucleotide
source:
- 1.c
- name: nbody
source:
- 2.c
- 5.c
- 8-i.c
- name: spectral-norm
source:
- 3.c
- 4.c
- 5-im.c
- 6-im.c
- name: nsieve
source:
- 1.c
compiler_version_command:
compiler_version_regex:
runtime_version_parameter:
runtime_version_regex:
source_rename_to: app.c
environments:
- os: linux
compiler: clang
compiler_version_command: clang --version
version: latest
docker:
include: c
build: clang @app.rsp
after_build:
- mv app out
out_dir: out
run_cmd: app
- os: linux
compiler: gcc
compiler_version_command: gcc --version
version: latest
docker: gcc
include: c
build: gcc @app.rsp
after_build:
- mv app out
out_dir: out
run_cmd: app