Skip to content

Fixes to the build and test of Slycot, (part of the work in #25) #26

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 29, 2018
Merged

Fixes to the build and test of Slycot, (part of the work in #25) #26

merged 2 commits into from
Jun 29, 2018

Conversation

repagh
Copy link
Member

@repagh repagh commented Jun 28, 2018

  • conda recipes, meta.yaml, and batch files

    • in meta.yaml, ensure test is under same python version as build
    • keep the openblas conda recipe in separate folder
    • re-worked windows build to use Flang fortran and vc14 linkage
    • use conda's compiler('fortran') for linux and mac osx
  • travis configuration

    • force installation of slycot from the local channel, avoid using a
      conda-forge version in the case of previous build failure
    • use lapack libs for conda and non-conda builds
    • add conda-forge channel to the conda config, to find lapack
  • slycot/setup.py

    • fix for compile on Darwin/Linux,
    • add library path based on python location, for conda builds
    • adjust linker options for Linux (specifically ubuntu)
    • read the environment variable LAPACKLIBS to override the
      used Lapack libraries

repagh and others added 2 commits June 28, 2018 22:50
* conda recipes, meta.yaml, and batch files
    - in meta.yaml, ensure test is under same python version as build
    - keep the openblas conda recipe in separate folder
    - re-worked windows build to use Flang fortran and vc14 linkage
    - use conda's compiler('fortran') for linux and mac osx

* travis configuration
    - force installation of slycot from the local channel, avoid using a
      conda-forge version in the case of previous build failure
    - use lapack libs for conda and non-conda builds
    - add conda-forge channel to the conda config, to find lapack

* slycot/setup.py
    - fix for compile on Darwin/Linux,
    - add library path based on python location, for conda builds
    - adjust linker options for Linux (specifically ubuntu)
    - read the environment variable LAPACKLIBS to override the
      used Lapack libraries
@repagh
Copy link
Member Author

repagh commented Jun 28, 2018

Looks good, just fails on the quadratic again.

Thanks for suggesting splitting the PR's. It was a bit of work, but I learned in the process.

@murrayrm
Copy link
Member

Thanks for taking the time to split these out. Great to have a working CI process again (or almost, at least -:). I want to run the changes on my local machine just to make sure some of the earlier problems go away and then I'll merge these into master.

For posterity, this PR addresses issue #23 and there is a discussion in PR #24 and (especially) PR #25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants