Some fix for building on Ubuntu
This commit is contained in:
parent
5b1051bf99
commit
586dfb38b3
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Build LASP on Arch Linux, assuming we start in a clean docker container.
|
# Build LASP on Ubuntu Linux, assuming we start in a clean docker container.
|
||||||
# After that, test stuff.
|
# After that, test stuff.
|
||||||
# Assumptions
|
# Assumptions
|
||||||
# - CWD is root of lasp repository
|
# - CWD is root of lasp repository
|
||||||
@ -10,13 +10,13 @@ set -e
|
|||||||
# Update cache
|
# Update cache
|
||||||
apt update
|
apt update
|
||||||
# Install requirements
|
# Install requirements
|
||||||
apt install -y git python3.10-venv libopenblas-dev python3-pip libfftw3-dev libusb-1.0-0-dev libpulse-dev python3-build
|
apt install -y git python3-virtualenv python3-venv libopenblas-dev python3-pip libfftw3-dev libusb-1.0-0-dev libpulse-dev python3-build
|
||||||
# Build
|
# Build
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
python3 -m build
|
|
||||||
python3 -m venv .venv
|
python3 -m venv .venv
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
pip install pytest
|
pip install build pytest
|
||||||
|
python3 -m build
|
||||||
pip install dist/lasp-*linux_x86_64.whl
|
pip install dist/lasp-*linux_x86_64.whl
|
||||||
# Test
|
# Test
|
||||||
pytest
|
pytest
|
||||||
|
Loading…
Reference in New Issue
Block a user