add darwin compiling support for wamr-compiler (#265)

* add darwin support for wamr-compiler compiling

* add darwin support for wamr-compiler

* Update CMakeLists.txt

Co-authored-by: wenyongh <wenyong.huang@intel.com>
This commit is contained in:
dpinthinker
2020-05-28 13:27:52 +08:00
committed by GitHub
parent 0529815f34
commit c182eebc6b
2 changed files with 10 additions and 3 deletions

View File

@ -59,6 +59,7 @@ cmake ..
make
ln -s {current path}/wamrc /usr/bin/wamrc
```
For MacOS, you should replace `cmake ..` with `cmake -DWAMR_BUILD_PLATFORM=darwin ..`.
### Build the mini product