jw_scan_build: Build with current Makevars, but with clang scan-build static...

Description Usage Arguments

View source: R/scan-build.R

Description

C and C++ compilers are replaced by 'scan-build clang', and restored afterwards. Other flags and anything else in '~/.R/Makevars' is left alone.

Usage

1
2
jw_scan_build(path = ".", clang = "clang-8",
  scan_build = "scan-build")

Arguments

path

Path to package root, default is ".".

clang

Path or name of clang compiler executable. Currently 'clang-8' which is what MacOS homebrew currently (early 2019) provides.

scan_build

Path or name of scan-build executable. Current 'scan-build', also from MacOS Homebrew. On linux, this has the LLVM version suffix, e.g., 'scan-build-8'.


jwutil documentation built on May 7, 2019, 1:03 a.m.