Skip to content

Commit

Permalink
Use submodule for env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
austinjp committed Aug 23, 2021
1 parent 20d30c0 commit 788741c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "jetson-nano-wheels/commons"]
path = jetson-nano-wheels/commons
url = git@github.com:jetson-nano-wheels/commons
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ If you have `pip` (which should be run in a suitable virtual environment) this s
pip install 'https://github.com/jetson-nano-wheels/python3.6-blis-0.7.4/releases/download/v0.0.1/blis-0.7.4-cp36-cp36m-linux_aarch64.whl'
```


## How to contribute

1. [Fork this repo](https://github.com/jetson-nano-wheels/python3.6-blis-0.7.4/fork)
2. Add a branch for your new feature.
3. Run the `init.sh` script.
2. Update submodules.
3. Add a branch for your new feature.
4. Run the `init.sh` script.

Like this:

```sh
git clone git@github.com:jetson-nano-wheels/python3.6-blis-0.7.4
cd python3.6-blis-0.7.4
git submodule update --recursive --init
git checkout -b feature-my-fancy-addition
./init.sh
```
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
./init.sh
source venv/bin/activate

source ../commons/envs.sh
source jetson-nano-wheels/commons/envs.sh

PIP_CONSTRAINT=constraint.txt \
pip wheel -vv --only-binary 'numpy' --no-binary 'blis' 'blis>=0.4.0,<0.8.0' -w dist
1 change: 1 addition & 0 deletions jetson-nano-wheels/commons
Submodule commons added at 1b85bf

0 comments on commit 788741c

Please sign in to comment.