Difference between revisions of "HICN/MacOS"

From fd.io
Jump to: navigation, search
(Build Libparc)
(Build)
Line 10: Line 10:
 
$ make
 
$ make
 
$ make install
 
$ make install
 +
</pre>
 +
 +
===Build hICN===
 +
<pre>
 +
$ git clone https://git.fd.io/hicn
 +
$ cd hicn
 +
$ mkdir build; cd build
 +
$ cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl\@1.1 -DBUILD_APPS=ON ..
 +
$ make
 +
</pre>
 +
 +
===HomeBrew Tap for macOS 10.14===
 +
<pre>
 +
$ brew tap icn-team/hicn-tap
 +
$ brew install  hicn
 
</pre>
 
</pre>

Revision as of 08:36, 26 September 2019

Build

Build Libparc

$ git clone -b cframework/master https://gerrit.fd.io/r/cicn cframework
$ cd cframework/libparc
$ mkdir build
$ cd build
$ cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/
$ make
$ make install

Build hICN

$ git clone https://git.fd.io/hicn
$ cd hicn
$ mkdir build; cd build
$ cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl\@1.1 -DBUILD_APPS=ON ..
$ make

HomeBrew Tap for macOS 10.14

$ brew tap icn-team/hicn-tap
$ brew install  hicn