Target only compiles object files for compiler warnings checks.
Also renamed target.
Refs #2661
Change-Id: Iffe5a2fa7d34d6bc4ff2081c3210191141ddcaf7
context.build_target(target='install')
# TODO: Consider what could be tested about the installed binaries.
+ # run OpenCL offline compile tests on clang tidy builds
+ if (context.opts.tidy and context.opts.opencl):
+ context.build_target(target='ocl_nbnxm_kernels')
+
if not context.opts.mdrun_only:
context.env.prepend_path_env(os.path.join(context.workspace.build_dir, 'bin'))
context.chdir(regressiontests_path)
endforeach()
endforeach()
endforeach()
-add_custom_target(ocl_kernel DEPENDS ${NBNXM_OCL_KERNELS})
+add_custom_target(ocl_nbnxm_kernels DEPENDS ${NBNXM_OCL_KERNELS})