Skip to content

Commit

Permalink
Update building process with the latest process
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrychenhf authored Jan 19, 2022
1 parent 64ecc4e commit 0d2373e
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions doc/Building.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
# Building
# Building CloudTik

## Building for Linux

Before you start to build wheels for CloudTik, we recommend you create a python environment (>= Python 3.7)
Before you start to build wheels for CloudTik, we recommend you create a python environment (>= Python 3.7).

If with conda, run
### 1. Install prerequisit package for building enviroment
We provide ```./dev/install-dev.sh``` to for installing build dependencies on Ubtuntu systems.
```
conda create -n cloudtik-py37 -y python=3.7
conda activate cloudtik-py37
bash ./dev/install-dev.sh
```

Then build CloudTik wheels with our provided script.
### 2. Create a Python environment (>= Python 3.7)
We suggest you use Conda to manage Python environment. You can refer ```./dev/install-conda.sh``` if Conda installation is needed. Execute the following command to create a Python environment for building, replacing the environment name if you want.

```
conda create -n cloudtik -y python=3.7
conda activate cloudtik
```

### 3. Build CloudTik wheels with our provided script
Execute below command to start the build.
```
git clone https://github.com/Intel-bigdata/cloudtik.git
cd cloudtik/python
bash build-wheel-manylinux2014.sh
bash build.sh
```
Then under `cloudtik/python/dist` directory, you will find the `*.whl` which is your current specific python version's CloudTik wheel for Linux.

0 comments on commit 0d2373e

Please sign in to comment.