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

update: Openms 2.9.0 #39736

Merged
merged 16 commits into from
Mar 6, 2023
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
17 changes: 3 additions & 14 deletions recipes/openms-meta/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/sh

# Download URLs have changed!
sed -i.bak "s/informatik/cs/g" contrib/macros.cmake

# useless default include directory that is silently added by the compiler packages "to help"...
# it is not even added with -isystem https://github.com/AnacondaRecipes/aggregate/blob/master/clang/activate-clang%2B%2B.sh#L87
USELESS="-I${PREFIX}/include"
Expand All @@ -13,31 +10,23 @@ export LIBRARY_PATH=${PREFIX}/lib
export LD_LIBRARY_PATH=${PREFIX}/lib
#export DYLD_LIBRARY_PATH=${PREFIX}/lib

mkdir contrib-build
cd contrib-build
## By default WM is built and linked statically such that it does not
## introduce a dependency that needs to be exported
cmake -DBUILD_TYPE=WILDMAGIC ../contrib
cd ..

#sed -i.bak "s/CMAKE_INSTALL_NAME_DIR/FOO/g" CMakeLists.txt

mkdir build
cd build


if [[ $(uname -s) == Darwin ]]; then
RPATH='@loader_path/../lib'
else
ORIGIN='$ORIGIN'
export ORIGIN
RPATH='$${ORIGIN}/../lib'
fi

# not sure if needed. CMake should take care of that.
LDFLAGS='-Wl,-rpath,${RPATH}'

cmake .. \
-DOPENMS_GIT_SHORT_REFSPEC="release/${PKG_VERSION}" \
-DOPENMS_GIT_SHORT_SHA1="b59e0c3" \
-DOPENMS_GIT_SHORT_SHA1="d36094e" \
-DOPENMS_CONTRIB_LIBS="$SRC_DIR/contrib-build" \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} \
Expand Down
6 changes: 0 additions & 6 deletions recipes/openms-meta/conda_build_config.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions recipes/openms-meta/install_pyopenms.sh

This file was deleted.

22 changes: 3 additions & 19 deletions recipes/openms-meta/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{% set name = "OpenMS" %}
{% set version = "2.8.0" %}
{% set version = "2.9.0" %}
package:
name: {{ name|lower }}-meta
version: {{ version }}

source:
url: https://abibuilder.cs.uni-tuebingen.de/archive/openms/OpenMSInstaller/release/{{ version }}/OpenMS-{{ version }}-src.tar.gz
sha256: c39e3ccdce5c335d2659cfa9d0bb63555a01ec422757afd90706d3869bf611ac
# patch should be removed in 2.9 https://github.com/OpenMS/OpenMS/pull/6122
patches:
- sirius-2.8.0.patch
sha256: d2e80ac3000516bb046a13db9aa862d3cc961bad43446f7b09f672e6362afefe

build:
number: 4
number: 0

# Try this when building with GUI
#extra:
Expand All @@ -33,13 +30,11 @@ requirements:
- xerces-c
- boost-cpp
- eigen >=3.3.2
- glpk
- hdf5 >=1.10
- bzip2
- qt
- libsvm
- coinmp
- sqlite

test:
commands:
Expand All @@ -63,27 +58,23 @@ outputs:
- xerces-c
- boost-cpp
- eigen >=3.3.2
- glpk
- hdf5 >=1.10
- bzip2
- qt
- libsvm
- coinmp
- sqlite
build:
run_exports:
- {{ pin_compatible('llvm-openmp', max_pin='x.x') }} # [osx]
- {{ pin_compatible('zlib', max_pin='x.x') }}
- {{ pin_compatible('xerces-c', max_pin='x.x') }}
- {{ pin_compatible('boost-cpp', max_pin='x.x') }}
- {{ pin_compatible('eigen', max_pin='x.x') }}
- {{ pin_compatible('glpk', max_pin='x.x') }}
- {{ pin_compatible('hdf5', max_pin='x.x') }}
- {{ pin_compatible('bzip2', max_pin='x.x') }}
- {{ pin_compatible('qt', max_pin='x.x') }}
- {{ pin_compatible('libsvm', max_pin='x.x') }}
- {{ pin_compatible('coinmp', max_pin='x.x') }}
- {{ pin_compatible('sqlite', max_pin='x.x') }}
- libopenms {{ version }}

- name: openms
Expand All @@ -105,27 +96,23 @@ outputs:
- xerces-c
- boost-cpp
- eigen >=3.3.2
- glpk
- hdf5 >=1.10
- bzip2
- qt
- libsvm
- coinmp
- sqlite
run:
- {{ pin_subpackage('libopenms', exact=True) }}
- {{ pin_compatible('llvm-openmp', max_pin='x.x') }} # [osx]
- {{ pin_compatible('zlib', max_pin='x.x') }}
- {{ pin_compatible('xerces-c', max_pin='x.x') }}
- {{ pin_compatible('boost-cpp', max_pin='x.x') }}
- {{ pin_compatible('eigen', max_pin='x.x') }}
- {{ pin_compatible('glpk', max_pin='x.x') }}
- {{ pin_compatible('hdf5', max_pin='x.x') }}
- {{ pin_compatible('bzip2', max_pin='x.x') }}
- {{ pin_compatible('qt', max_pin='x.x') }}
- {{ pin_compatible('libsvm', max_pin='x.x') }}
- {{ pin_compatible('coinmp', max_pin='x.x') }}
- {{ pin_compatible('sqlite', max_pin='x.x') }}
test:
commands:
- OPENMS_DATA_PATH=${PREFIX}/share/OpenMS/ ${PREFIX}/bin/OpenMSInfo
Expand All @@ -139,9 +126,7 @@ outputs:
requirements:
run:
- {{ pin_subpackage('openms', exact=True) }}
- bumbershoot ==3_0_21142_0e4f4a4
- comet-ms ==2019015
- crux-toolkit ==3.2
- fido ==1.0
- luciphor2 ==2020_04_03
- msgf_plus ==2021.03.22
Expand All @@ -156,7 +141,6 @@ outputs:
# Test copied from openms output to make sure a test environment for this output is created.
commands:
- OPENMS_DATA_PATH=${PREFIX}/share/OpenMS/ ${PREFIX}/bin/OpenMSInfo
- sirius --help

about:
home: https://github.com/OpenMS/OpenMS
Expand Down
14 changes: 0 additions & 14 deletions recipes/openms-meta/sirius-2.8.0.patch

This file was deleted.