Skip to content

Conversation

@jianchun
Copy link

Make the clang plugin work on OSX.

OSX note: Must run the same clang binary for which the plugin was built for. e.g.:

./build.sh -n -d --icu=/usr/local/opt/icu4c/include/ \
                 --cxx=/usr/local/opt/llvm/bin/clang++ \
                 --cc=/usr/local/opt/llvm/bin/clang \
                 --wb-check lib/Runtime/Base/FunctionBody.cpp

Clean up plugin build script and sources.

Add plugin arguments support. Arguments can be directly passed from top
level "build.sh".

Changed --wb-check default output to "ERROR" only. To output verbose, use
plugin argument "-verbose":

build.sh -n -d --wb-check lib/Runtime/Base/FunctionBody.cpp \
         --wb-args=-verbose

Make the clang plugin work on OSX.

OSX note: Must run the same clang binary for which the plugin was built for. e.g.:
```
./build.sh -n -d --icu=/usr/local/opt/icu4c/include/ \
                 --cxx=/usr/local/opt/llvm/bin/clang++ \
                 --cc=/usr/local/opt/llvm/bin/clang \
                 --wb-check lib/Runtime/Base/FunctionBody.cpp
```

Clean up plugin build script and sources.

Add plugin arguments support. Arguments can be directly passed from top
level "build.sh".

Changed --wb-check default output to "ERROR" only. To output verbose, use
plugin argument "-verbose":
```
build.sh -n -d --wb-check lib/Runtime/Base/FunctionBody.cpp \
         --wb-args=-verbose
``````
@jianchun
Copy link
Author

@dotnet-bot test Linux tests please

@jianchun
Copy link
Author

@leirocks Please help CR, thanks!

@digitalinfinity
Copy link
Contributor

:shipit:

@jianchun
Copy link
Author

Thanks @digitalinfinity !

@jianchun jianchun merged commit 6a2f715 into chakra-core:swb Oct 31, 2016
jianchun pushed a commit that referenced this pull request Oct 31, 2016
…rguments

Merge pull request #1847 from jianchun:wbarg

Make the clang plugin work on OSX.

OSX note: Must run the same clang binary for which the plugin was built for. e.g.:

```
./build.sh -n -d --icu=/usr/local/opt/icu4c/include/ \
                 --cxx=/usr/local/opt/llvm/bin/clang++ \
                 --cc=/usr/local/opt/llvm/bin/clang \
                 --wb-check lib/Runtime/Base/FunctionBody.cpp
```

Clean up plugin build script and sources.

Add plugin arguments support. Arguments can be directly passed from top
level "build.sh".

Changed --wb-check default output to "ERROR" only. To output verbose, use
plugin argument "-verbose":

```
build.sh -n -d --wb-check lib/Runtime/Base/FunctionBody.cpp \
         --wb-args=-verbose
```
@jianchun jianchun deleted the wbarg branch October 31, 2016 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants