Skip to content

Commit

Permalink
Remove downloaded sundials
Browse files Browse the repository at this point in the history
Download sundials source files during installation
  • Loading branch information
sn248 committed Dec 14, 2024
1 parent 59a0f82 commit 6b74358
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ rm -f configure~
rm -f Makevars
rm -f config.log
rm -f config.status
rm -f src/sundials-*.tar.gz
4 changes: 2 additions & 2 deletions inst/include/sundials/sundials_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@

#define SUN_BUILD_TYPE "Release"

#define SUN_JOB_ID "20241213212243"
#define SUN_JOB_START_TIME "20241213212243"
#define SUN_JOB_ID "20241214113940"
#define SUN_JOB_START_TIME "20241214113940"

#define SUN_TPL_LIST ""
#define SUN_TPL_LIST_SIZE ""
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/sundials_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
RSCRIPT_BIN=$1

## Uncompress sundials source
##${RSCRIPT_BIN} -e "download.file(url = 'https://github.com/LLNL/sundials/releases/download/v7.1.1/sundials-7.1.1.tar.gz', destfile = 'sundials-7.1.1.tar.gz')"
${RSCRIPT_BIN} -e "download.file(url = 'https://github.com/LLNL/sundials/releases/download/v7.1.1/sundials-7.1.1.tar.gz', destfile = 'sundials-7.1.1.tar.gz')"
${RSCRIPT_BIN} -e "utils::untar(tarfile = 'sundials-7.1.1.tar.gz')"
mv sundials-7.1.1 sundials-src
Binary file removed src/sundials-7.1.1.tar.gz
Binary file not shown.

0 comments on commit 6b74358

Please sign in to comment.