Skip to content

Commit

Permalink
"fix" opencl (and ispc) build warnings (#542)
Browse files Browse the repository at this point in the history
* fix build warnings

* introduce 'third_party' directory
  • Loading branch information
borg323 committed Nov 30, 2018
1 parent 98a80ca commit 8655707
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ files = []
includes = []
has_backends = false

# Third party files.
includes += include_directories('third_party', is_system: true)

# Both protobuf and protoc must be the same version, so couple them together.
protobuf_lib = cc.find_library('libprotobuf', dirs : get_option('protobuf_libdir'), required : false)
if not protobuf_lib.found()
Expand Down Expand Up @@ -233,7 +236,7 @@ if get_option('build_backends')
endif
iscp_gen = generator(ispc,
output: [ '@BASENAME@_ispc.h', outputnames ],
arguments: [ '-O2', '--arch=x86-64',
arguments: [ '-O2', '--wno-perf', '--arch=x86-64',
'--target=' + ispc_target,
'@INPUT@', '-o', '@OUTPUT1@' ,'-h', '@OUTPUT0@' ]
+ ispc_extra_args
Expand Down
File renamed without changes.

0 comments on commit 8655707

Please sign in to comment.