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 TREE-QMC to 3.0.0 #46656

Merged
merged 24 commits into from
Mar 21, 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
16 changes: 10 additions & 6 deletions recipes/tree-qmc/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
cd MQLib
make \
GXX="${CXX}" \
AR="${AR}"
cd ..
$CXX -std=c++11 -O2 -I MQLib/include -o TREE-QMC src/*.cpp MQLib/bin/MQLib.a
cd external/MQLib
sed -i.bak "s#g++#${CXX}#" Makefile
make
cd ../..
$CXX -std=c++11 -O2 \
-I external/MQLib/include -I external/toms743 \
-o TREE-QMC \
src/*.cpp external/toms743/toms743.cpp \
external/MQLib/bin/MQLib.a -lm \
-DVERSION=\"$(cat version.txt)\"
mkdir -p $PREFIX/bin
cp TREE-QMC $PREFIX/bin/
chmod a+x $PREFIX/bin/TREE-QMC
7 changes: 4 additions & 3 deletions recipes/tree-qmc/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{% set name = "TREE-QMC" %}
{% set version = "2.0.0" %}
{% set version = "3.0.0" %}


package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: https://github.com/molloy-lab/{{ name|upper }}/releases/download/{{ version }}/{{ name|upper }}-{{ version }}.zip
sha256: f8530dd6d106c63ffde0d728eeef835b8bded16e69620e78bd45f562129f86a9
url: https://github.com/molloy-lab/{{ name|upper }}/archive/refs/tags/v3-f40cc44.zip
sha256: cdabdc24b2f2f203fe0c075227d61d66e78155fca91e7fe3a32d162abb6216f0

build:
number: 0
Expand Down