Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Slycot source uses setuptools_scm now#751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bnavigator merged 1 commit intopython-control:mainfrombnavigator:slycot-5.1.dev
Jul 18, 2022
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions.github/workflows/control-slycot-src.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout python-control
uses: actions/checkout@v3
with:
path: python-control
- name: Set up Python
uses: actions/setup-python@v2
- name: Install Python dependencies
Expand All@@ -24,18 +27,27 @@ jobs:
# Install python-control dependencies
conda install numpy matplotlib scipy

- name: Checkout Slycot
uses: actions/checkout@v3
with:
repository: python-control/Slycot
submodules: recursive
fetch-depth: 0
path: slycot
- name: Install slycot from source
env:
BLA_VENDOR: Generic
CMAKE_GENERATOR: Unix Makefiles
working-directory: slycot
run: |
# Install compilers, libraries, and development environment
sudo apt-get -y install gfortran cmake --fix-missing
sudo apt-get -y install libblas-dev liblapack-dev
conda install -c conda-forge scikit-build;
conda install -c conda-forge scikit-build setuptools-scm

# Compile and install slycot
git clone https://github.com/python-control/Slycot.git slycot
cd slycot
git submodule update --init
python setup.py build_ext install -DBLA_VENDOR=Generic
pip install -v --no-build-isolation --no-deps .

- name: Test with pytest
working-directory: python-control
run: xvfb-run --auto-servernum pytest control/tests

[8]ページ先頭

©2009-2025 Movatter.jp