forked from oap-project/cloudtik
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update building process with the latest process
- Loading branch information
1 parent
64ecc4e
commit 0d2373e
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |