Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* @mdolab/pyoptsparse_maintainers
* @ewu63
* @marcomangano
2 changes: 1 addition & 1 deletion .github/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- pip
- setuptools
- build
- flang 5*
- flang>=18
- libpgmath
# runtime
- packaging
Expand Down
40 changes: 0 additions & 40 deletions .github/windows.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jobs:
:: debug - list environment vars
set

:: set fortran compiler, flang 5 activation doesn't seem to do it
set FC=flang.exe

python -m build -n -x .

pip install --no-deps --no-index --find-links dist pyoptsparse
Expand Down
9 changes: 2 additions & 7 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installation Instructions

Conda
-----
Conda packages are available on ``conda-forge`` and can be installed via
Conda packages are available on conda-forge and can be installed via

.. prompt:: bash

Expand Down Expand Up @@ -165,7 +165,7 @@ This has the advantage that ``conda`` can be used to install all the necessary d
Considering how finicky Windows can be with ABI compatibility among various compilers, this is the recommended approach.
The guide will work on any platform, however.

The only build requirement for the build is a working ``conda`` installation as all compilers and dependencies are pulled from the ``conda-forge`` repos, with the exception of a Windows build, which requires Visual Studio 2017 C++ Build Tools.
The only build requirement for the build is a working ``conda`` installation as all compilers and dependencies are pulled from conda-forge.

First, we need to create the ``conda`` environment.
An ``environment.yml`` file is provided in the ``pyoptsparse`` repo:
Expand Down Expand Up @@ -204,11 +204,6 @@ Finally, build the wheel and install it using pip:

.. code-tab:: powershell Windows

# set specific compiler flags
set CC=cl
set FC=flang
set CC_LD=link

# build wheel
python -m build -n -x .

Expand Down
Loading