From 1eb1a3f021a02d25a873e0cb975f5248b52bf7c4 Mon Sep 17 00:00:00 2001 From: BiocondaBot <47040946+BiocondaBot@users.noreply.github.com> Date: Mon, 21 Oct 2024 06:04:45 +0000 Subject: [PATCH 1/3] Update bustools to 0.44.1 --- recipes/bustools/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/bustools/meta.yaml b/recipes/bustools/meta.yaml index fed8ae7701f0b..86aad2e1a0f7b 100644 --- a/recipes/bustools/meta.yaml +++ b/recipes/bustools/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "0.44.0" %} +{% set version = "0.44.1" %} package: name: bustools @@ -6,7 +6,7 @@ package: source: url: https://github.com/BUStools/bustools/archive/v{{ version }}.tar.gz - sha256: e9a12be416d5d3940dd0ec3bfb0be3a481f2eea7d4411df1ab24c814332d99b8 + sha256: 829d7ca129b4c4911cae35bc2b87cac5d3a7845387b9a6487765aec84108d732 build: number: 0 From 9e6ac5a9ca3411d26363042cc14f367df3607b9e Mon Sep 17 00:00:00 2001 From: mencian Date: Mon, 21 Oct 2024 01:13:37 -0500 Subject: [PATCH 2/3] clean up recipe --- recipes/bustools/build.sh | 23 +++++++++++++++++------ recipes/bustools/meta.yaml | 9 +++++++-- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/recipes/bustools/build.sh b/recipes/bustools/build.sh index 93f63cbb3280d..e8c29bbb069bd 100644 --- a/recipes/bustools/build.sh +++ b/recipes/bustools/build.sh @@ -1,10 +1,21 @@ #!/bin/bash set -euo pipefail -export CPATH=$PREFIX/include +export INCLUDE_PATH=$PREFIX/include +export LIBRARY_PATH=$PREFIX/lib +export LDFLAGS="${LDFLAGS} -L$PREFIX/lib" +export CXXFLAGS="${CXXFLAGS} -std=c++14 -O3 -I${PREFIX}/include" -mkdir build -cd build -cmake -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX .. -make -make install +if [[ `uname` == "Darwin" ]]; then + export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER" +else + export CONFIG_ARGS="" +fi + +cmake -S. -B build -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER="${CXX}" \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" -DCMAKE_C_COMPILER="${CC}" \ + -DCMAKE_C_FLAGS="${CFLAGS} -O3" \ + "${CONFIG_ARGS}" + +cmake --build build --target install -v diff --git a/recipes/bustools/meta.yaml b/recipes/bustools/meta.yaml index 86aad2e1a0f7b..7e114c40dd6d9 100644 --- a/recipes/bustools/meta.yaml +++ b/recipes/bustools/meta.yaml @@ -27,14 +27,19 @@ test: - bustools sort about: - home: https://github.com/BUStools/bustools - license: BSD-2-Clause "Simplified" License + home: "https://github.com/BUStools/bustools" + license: 'BSD-2-Clause "Simplified" License' license_family: BSD license_file: LICENSE summary: | bustools is a program for manipulating BUS files for single cell RNA-Seq datasets. + dev_url: "https://github.com/BUStools/bustools" + doc_url: "https://bustools.github.io/manual" extra: additional-platforms: - linux-aarch64 - osx-arm64 + identifiers: + - biotools:BUStools + - doi:10.1038/s41587-021-00870-2 From 2bf19ccd1bd9ea566ba9cab11bbe301b196854f2 Mon Sep 17 00:00:00 2001 From: mencian Date: Mon, 21 Oct 2024 01:26:20 -0500 Subject: [PATCH 3/3] revert to CPATH --- recipes/bustools/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/bustools/build.sh b/recipes/bustools/build.sh index e8c29bbb069bd..cbd3af5c9a2da 100644 --- a/recipes/bustools/build.sh +++ b/recipes/bustools/build.sh @@ -1,8 +1,8 @@ #!/bin/bash set -euo pipefail -export INCLUDE_PATH=$PREFIX/include -export LIBRARY_PATH=$PREFIX/lib +export CPATH="${PREFIX}/include" +export LIBRARY_PATH="${PREFIX}/lib" export LDFLAGS="${LDFLAGS} -L$PREFIX/lib" export CXXFLAGS="${CXXFLAGS} -std=c++14 -O3 -I${PREFIX}/include"