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 derna to 1.0.4 #51825

Merged
merged 2 commits into from
Oct 31, 2024
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
21 changes: 15 additions & 6 deletions recipes/derna/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,21 @@

set -xe

mkdir -p $PREFIX/bin

export C_INCLUDE_PATH=${PREFIX}/include
export LIBRARY_PATH=${PREFIX}/lib

mkdir build
cd build
cmake ..
make -j ${CPU_COUNT}
mkdir -p $PREFIX/bin
cp derna $PREFIX/bin
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_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER="${CXX}" \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
"${CONFIG_ARGS}"
cmake --build build -j ${CPU_COUNT} -v
chmod 0755 build/derna
mv build/derna $PREFIX/bin
11 changes: 6 additions & 5 deletions recipes/derna/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{% set version = "1.0.3" %}
{% set version = "1.0.4" %}

package:
name: derna
version: {{ version }}

source:
url: https://github.com/elkebir-group/derna/archive/refs/tags/v{{ version }}.tar.gz
sha256: d7e2fdbe733d03f9e617ea325a43283c0e4e298780253cf2e7da7ad07d3aafc5
sha256: eb5fabf0e01d9507ceca3fc687e8c67a9cec91c77e75d2c4f7d310ac926a79cb

build:
number: 1
number: 0
run_exports:
- {{ pin_subpackage('derna', max_pin="x") }}

Expand All @@ -25,12 +25,13 @@ test:
- derna -h

about:
home: https://github.com/elkebir-group/derna
home: "https://github.com/elkebir-group/derna"
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: "RNA sequence design for a target protein sequence."
dev_url: https://github.com/elkebir-group/derna
dev_url: "https://github.com/elkebir-group/derna"
doc_url: "https://github.com/elkebir-group/derna/blob/v{{ version }}/README.md"

extra:
additional-platforms:
Expand Down
Loading