Commit 3edbe2e
Make configure script able to download and install external libraries. Fix 'dat' install. (#883)
* Start adding support for automatically getting and building netcdf
* Fix extra space, make executable
* Download and build netcdf automatically
* Fix netcdf specified build failure message
* Move all logic for determining if and how netcdf will be built to configure.
* Hide some debug info. Ensure clean is run before make
* Make script more general so it can be potentially used for other libraries
* Rename to make more general
* Add messages about downloading and unpacking
* Move question to get_library.sh
* Change indents in get_library. Simplify logic for checking for bundled netcdf.
* Try to determine SRCDIR automatically if not specified.
* Start trying to automatically build bzip2
* Try to handle case where library has a Makefile but not configure
* Improve error message
* Add support for getting zlib. Reorder CC and CFLAGS position when invoking configure.
* Fix 'error: identifier "_LIB_VERSION_TYPE" is undefined' with intel compilers
* Start adding code for math library.
* Add some internal documentation
* Consolidate error message code for TestProgram silent. Have DetermineFlink return with a status instead of exit on error.
* Skip asking user about building if already built once before
* Rebuild checks for zlib and bzlib
* Add install of openblas
* Set up make command if not already set
* Fix up formatting
* Pass in FC and FFLAGS
* Fix syntax error
* Start generalizing for different BLAS external builds. Pass FC but not FFLAGS since they might not be appropriate for F77 style code
* Add code for building vanilla lapack/blas
* Add uninstall_lib target
* Add concept of a cpptraj include directory
* Add uninstall_inc target
* Add --buildlibs option
* Fix typo in variable
* Add note
* Fix issues with SRCDIR
* Add pnetcdf
* Disable pnetcdf interfaces that cpptraj does not use
* Add build of fftw
* Disable fortran interface for fftw. Only enable pnetcdf when mpi is specified
* Add message that compiling may be time-consuming
* Add small blurb about --buildlibs
* Put intel header fix into configure. Add zlib include path to external config.h for tng
* Use zlib include path from external config
* Define M_PI and M_PI_2 if not defined; some intel compilers do not have them defined.
* Add --nobuildlibs option to avoid asking about building libraries. Will still use bundled libraries if already present.
* Add note about --nobuildlibs
* Fix uninstall rule to remove more fftw stuff
* Fix detection of cpptraj test root directory, and use it to find necessary test utilities. Should make it possible to source cpptraj.sh in any directory and have tests here use it.
* Ensure the files in the dat directory get installed to PREFIX when prefix is specified.
* CPPTRAJ_NDIFF and CPPTRAJ_NPROC are now set by CPPTRAJ_TEST_ROOT which is an absolute path.
* Add --buildlibs to Linux GNU parallel Jenkins build so pnetcdf check is not interactive. Will also serve as a partial test of --buildlibs.
Co-authored-by: Daniel R. Roe <daniel.roe@nih.gov>1 parent 196783e commit 3edbe2e
File tree
8 files changed
+600
-35
lines changed- src
- tng
- vmdplugin
- test
8 files changed
+600
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| |||
0 commit comments