Change to install python3 and systemc via homebrew
This commit is contained in:
53
README.md
53
README.md
@@ -221,10 +221,31 @@ $ make
|
||||
$ sudo make install
|
||||
```
|
||||
|
||||
- Install the required python 3 over macports:
|
||||
Or you can install via homebrew:
|
||||
|
||||
``` bash
|
||||
sudo port install python34
|
||||
$ brew install systemc
|
||||
```
|
||||
|
||||
in this case, systemc will be installed, e.g. in:
|
||||
```
|
||||
/usr/local/Cellar/systemc/2.3.1
|
||||
```
|
||||
and make a simlink of the lib directory:
|
||||
```
|
||||
ln -s lib/ lib-macosx64
|
||||
```
|
||||
|
||||
|
||||
- Install the required python 3 over homebrew:
|
||||
|
||||
``` bash
|
||||
$ brew install python3
|
||||
```
|
||||
|
||||
Python3 (via homebrew) will be installed in
|
||||
```
|
||||
/usr/local/Cellar/python3/3.5.2_2/Frameworks/Python.framework
|
||||
```
|
||||
|
||||
or you can install manually using official package provided in [link](https://www.python.org/downloads/)
|
||||
@@ -234,13 +255,7 @@ or you can install manually using official package provided in [link](https://ww
|
||||
/Library/Frameworks/Python.framework
|
||||
```
|
||||
|
||||
- Install the QtCreator via macports:
|
||||
|
||||
``` bash
|
||||
$ sudo port install qt5-creator qt5
|
||||
```
|
||||
|
||||
or you can install it using offical setup file from [link](https://www.qt.io/download-open-source/#section-2)
|
||||
- Install the QtCreator using offical setup file from [link](https://www.qt.io/download-open-source/#section-2)
|
||||
|
||||
**Note:** You have later setup PATH for Qt5 and its tool if you install QtCreator manually, e.g:
|
||||
|
||||
@@ -266,10 +281,13 @@ $ ./bootstrap.sh --prefix=/opt/boost --with-libraries=filesystem,system
|
||||
$ sudo ./b2 install
|
||||
```
|
||||
|
||||
Homebrew: Install boost lib (all, which consumes large storage) in /usr/local/Cellar
|
||||
Homebrew: Install boost lib (all, which consumes large storage) in
|
||||
```
|
||||
/usr/local/Cellar
|
||||
```
|
||||
|
||||
``` bash
|
||||
$ sudo brew install boost
|
||||
$ brew install boost
|
||||
```
|
||||
|
||||
|
||||
@@ -277,12 +295,21 @@ $ sudo brew install boost
|
||||
|
||||
``` bash
|
||||
# Setting for DRAMSys
|
||||
# SystemC home and target architecture
|
||||
# SystemC via official source
|
||||
export SYSTEMC_HOME=/opt/systemc
|
||||
export SYSTEMC_TARGET_ARCH=macosx64
|
||||
# DRAMSys libraries and headers
|
||||
# SystemC via Homebrew
|
||||
#export SYSTEMC_HOME=/usr/local/Cellar/systemc/2.3.1
|
||||
#export SYSTEMC_TARGET_ARCH=macosx64
|
||||
|
||||
# Python via official pkg
|
||||
export PYTHON_HOME=/Library/Frameworks/Python.framework/Versions/3.5/lib
|
||||
export PYTHON_HEADERS=/Library/Frameworks/Python.framework/Versions/3.5/Headers
|
||||
|
||||
# Python3 via Homebrew
|
||||
#export PYTHON_HOME=/usr/local/Cellar/python3/3.5.2_2/Frameworks/Python.framework/Versions/3.5/lib
|
||||
#export PYTHON_HEADERS=/usr/local/Cellar/python3/3.5.2_2/Frameworks/Python.framework/Versions/3.5/Headers
|
||||
|
||||
export LIBQWT_HOME=/opt/qwt-6.1.4/lib
|
||||
export LIBQWT_HEADERS=/opt/qwt-6.1.4/lib/qwt.framework/Headers
|
||||
export LIBBOOST_HOME=/opt/boost/lib
|
||||
|
||||
Reference in New Issue
Block a user