File: clang_file.yml

package info (click to toggle)
khronos-opencl-clhpp 3.0~2023.02.06-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,640 kB
  • sloc: ansic: 26,445; cpp: 9,958; ruby: 9,564; tcl: 2,925; pascal: 2,280; makefile: 311; python: 220; asm: 133; sh: 20
file content (78 lines) | stat: -rw-r--r-- 1,552 bytes parent folder | download | duplicates (8)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
compiler:
  path: clang
  source_path:     '../src/'
  unit_tests_path: &unit_tests_path 'tests/'
  build_path:      &build_path 'build/'
  options:
    - '-c'
    - '-Wall'
    - '-Wextra'
    - '-Werror'
    - '-Wcast-qual'
    - '-Wconversion'
    - '-Wdisabled-optimization'
    - '-Wformat=2'
    - '-Winit-self'
    - '-Winline'
    - '-Winvalid-pch'
    - '-Wmissing-include-dirs'
    - '-Wnonnull'
    - '-Wpacked'
    - '-Wpointer-arith'
    - '-Wswitch-default'
    - '-Wstrict-aliasing'
    - '-Wstrict-overflow=5'
    - '-Wuninitialized'
    - '-Wunused'
#   - '-Wunreachable-code'
    - '-Wreturn-type'
    - '-Wshadow'
    - '-Wundef'
    - '-Wwrite-strings'
    - '-Wno-nested-externs'
    - '-Wno-unused-parameter'
    - '-Wno-variadic-macros'
    - '-Wbad-function-cast'
    - '-fms-extensions'
    - '-fno-omit-frame-pointer'
    - '-ffloat-store'
    - '-fno-common'
    - '-fstrict-aliasing'
    - '-std=gnu99'
    - '-pedantic'
    - '-O0'
  includes:
    prefix: '-I'
    items:
      - 'src/'
      - '../src/'
      - 'testdata/'
      - *unit_tests_path
  defines:
    prefix: '-D'
    items:
      - UNITY_INCLUDE_DOUBLE
      - UNITY_SUPPORT_64
      - UNITY_OUTPUT_RESULTS_FILE
  object_files:
    prefix: '-o'
    extension: '.o'
    destination: *build_path
linker:
  path: clang
  options:
    - -lm
    - '-m64'
  includes:
    prefix: '-I'
  object_files:
    path: *build_path
    extension: '.o'
  bin_files:
    prefix: '-o'
    extension: '.exe'
    destination: *build_path
colour: true
:unity:
  :plugins: []