-
Notifications
You must be signed in to change notification settings - Fork 25
How to run on macOS
Xiao Jia edited this page May 24, 2022
·
10 revisions
-
Install Docker and open it
-
Open Mac terminal and run the following commands:
Get demo code:
git clone https://github.com/naivesystems/analyze-demo.git cd analyze-demo mkdir output
Run NaiveSystems™ Analyze with Docker:
docker run -v $(pwd):/src -v $(pwd)/.naivesystems:/config -v $(pwd)/output:/output ccr.ccs.tencentyun.com/naivesystems/analyze:2022.1.0.515002 /opt/naivesystems/misra_analyzer -show_results
-
If you are with M1 chip, please run:
docker run --platform linux/amd64 -v $(pwd):/src -v $(pwd)/.naivesystems:/config -v $(pwd)/output:/output ccr.ccs.tencentyun.com/naivesystems/analyze:2022.1.0.515002 /opt/naivesystems/misra_analyzer -show_results