- Notifications
You must be signed in to change notification settings - Fork246
Open
Description
$makenek clean
doesn't delete the unpacked versions of parRSB and gslib. When parRSB, for example, is updated, the user needs to manually delete theNek5000/3rd_party/parRSB/parRSB
directory for the new version to be downloaded and installed. Theinstall
script only checks for the existence of the tool subdirectory when deciding if it needs to download a new tarball, not whether it is the correct version. We could tag the subdirectory with the version number to make sure it's always consistent with the version of Nek. Something like:
#!/bin/bashset -eVER=0.9.2if [ "$1" == "clean" ]; then rm -rf parRSB_v$VER/build lib include 2>/dev/null exit 0fiif [ -f ./lib/libparRSB.a ]; then exit 0fiif [ ! -d ./parRSB_v$VER ]; then rm -rf ./parRSB* 2>/dev/null #delete any version that might already exist wget --no-check-certificate -O v$VER.tar.gz https://github.com/Nek5000/parRSB/archive/v$VER.tar.gz mkdir parRSB_v$VER tar -zxvf v$VER.tar.gz -C ./parRSB_v$VER --strip-components=1ficd parRSB_v$VERset -xmake lib install $PARRSB_OPTset +x
Metadata
Metadata
Assignees
Labels
No labels