Skip to content
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

Build static libs for suitesparse #9

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 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
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto

meta.yaml text eol=lf
build.sh text eol=lf
bld.bat text eol=crlf
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ recursive-bisection, multilevel k-way, and multi-constraint partitioning
schemes developed in our lab.


Current build status
====================

Linux: [![Circle CI](https://circleci.com/gh/conda-forge/metis-feedstock.svg?style=shield)](https://circleci.com/gh/conda-forge/metis-feedstock)
OSX: [![TravisCI](https://travis-ci.org/conda-forge/metis-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/metis-feedstock)
Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/conda-forge/metis-feedstock?svg=True)](https://ci.appveyor.com/project/conda-forge/metis-feedstock/branch/master)

Current release info
====================
Version: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/metis/badges/version.svg)](https://anaconda.org/conda-forge/metis)
Downloads: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/metis/badges/downloads.svg)](https://anaconda.org/conda-forge/metis)

Installing metis
================

Expand Down Expand Up @@ -72,18 +84,6 @@ Terminology
**conda-forge** - the place where the feedstock and smithy live and work to
produce the finished article (built conda distributions)

Current build status
====================

Linux: [![Circle CI](https://circleci.com/gh/conda-forge/metis-feedstock.svg?style=shield)](https://circleci.com/gh/conda-forge/metis-feedstock)
OSX: [![TravisCI](https://travis-ci.org/conda-forge/metis-feedstock.svg?branch=master)](https://travis-ci.org/conda-forge/metis-feedstock)
Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/conda-forge/metis-feedstock?svg=True)](https://ci.appveyor.com/project/conda-forge/metis-feedstock/branch/master)

Current release info
====================
Version: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/metis/badges/version.svg)](https://anaconda.org/conda-forge/metis)
Downloads: [![Anaconda-Server Badge](https://anaconda.org/conda-forge/metis/badges/downloads.svg)](https://anaconda.org/conda-forge/metis)


Updating metis-feedstock
========================
Expand Down
13 changes: 8 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ environment:
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd"

# We set a default Python version for the miniconda that is to be installed. This can be
# overridden in the matrix definition where appropriate.
CONDA_PY: "27"
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"

BINSTAR_TOKEN:
# The BINSTAR_TOKEN secure variable. This is defined canonically in conda-forge.yml.
secure: MP4hZYylDyUWEsrt3u3cod2sbFeRwUziH02mvQOdbjsTO/l1yIxDkP/76rSIjcGC
Expand Down Expand Up @@ -43,6 +38,14 @@ environment:
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64

- TARGET_ARCH: x86
CONDA_PY: 36
CONDA_INSTALL_LOCN: C:\\Miniconda
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you skip py36 builds on windows and rerender? py35 and py36 both use vc14 and therefore there's no need to build twice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean as I have done in 5e2a338?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes


- TARGET_ARCH: x64
CONDA_PY: 36
CONDA_INSTALL_LOCN: C:\\Miniconda-x64


# We always use a 64-bit machine, but can build x86 distributions
# with the TARGET_ARCH variable.
Expand Down
9 changes: 6 additions & 3 deletions recipe/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash

make config \
shared=1 \
prefix=$PREFIX
# Build dynamic libs
make config shared=1 prefix=$PREFIX
make
make install

# Build static libs
make config prefix=$PREFIX
make
make install
2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ requirements:
- vc 14 # [win and py35]

test:
source_files:
- graphs/*
commands:
- graphchk # [unix]
- cmpfillin -h # [unix]
Expand Down