File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 -U__PLUMED_HAS_ASMJIT \
7676 -D__PLUMED_WRAPPER_CXX_EXPLICIT=explicit \
7777 --config-exclude=small_vector/ \
78+ -i vesin.cpp \
7879 --template=' [{file}:{line}] ({severity}) :{id}: {message}' \
7980 --enable=all --suppress=missingIncludeSystem --inline-suppr --force \
8081 $files
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- path =$1
3+ version =$1
44
55if (( $# != 1 )) ; then
6- echo " usage: $0 /path/to/vesin"
7- echo
8- echo " All the commands to run:"
9- echo " cd /some/dir/"
10- echo " git clone https://github.com/luthaf/vesin"
11- echo " cd /your/plumed2/src/metatomic"
12- echo " ./import.sh /some/dir/vesin"
13- exit 0
6+ echo " usage: $0 <vesin-version>"
7+ exit 1
148fi
159
16- bash -c " $path /create-single-cpp.py > /dev/null"
10+ rm -f vesin-single-build-v* .tar.gz
11+ wget https://github.com/Luthaf/vesin/releases/download/v$version /vesin-single-build-v$version .tar.gz
1712
18- cp $path /vesin/include/vesin.h vesin.h
19- mv vesin-single-build.cpp vesin.cpp
13+ tar xf vesin-single-build-v$version .tar.gz
14+
15+ mv vesin-single-build-nocuda.cpp vesin.cpp
16+ rm -f vesin-single-build.cpp
2017
2118# Patch files to follow PLUMED linter
2219sed ' s|#define VESIN_H|#define VESIN_H\n/*INDENT-OFF*/\n|
You can’t perform that action at this time.
0 commit comments