version 1.44, 2009/02/06 00:25:08
|
version 1.48, 2009/06/05 21:03:51
|
|
|
#! /bin/csh -f | #! /bin/csh -f |
| |
|
rm custom.mk |
|
|
# set up $JSOC_MACHINE | # set up $JSOC_MACHINE |
set JSOC_MACHINE = `build/jsoc_machine.csh` | set JSOC_MACHINE = `build/jsoc_machine.csh` |
echo "Machine type is $JSOC_MACHINE" | echo "Machine type is $JSOC_MACHINE" |
Line 228 if ($CHKLIBS == "no") then |
|
Line 230 if ($CHKLIBS == "no") then |
|
# Set custom make file to tell the make system that the gcc cfitsio library is called | # Set custom make file to tell the make system that the gcc cfitsio library is called |
# libcfitsio_gcc.a | # libcfitsio_gcc.a |
if (-e suflag.txt) then | if (-e suflag.txt) then |
echo "CFITSIOFNAME_GCC_X86_64 = cfitsio_gcc" > custom.mk |
echo "CFITSIOFNAME_GCC_X86_64 = cfitsio_gcc" >> custom.mk |
endif | endif |
| |
# Make customizations - ensure changes here are synchronized to changes in make_basic.mk | # Make customizations - ensure changes here are synchronized to changes in make_basic.mk |
Line 299 if (!(-e suflag.txt)) then |
|
Line 301 if (!(-e suflag.txt)) then |
|
echo | echo |
echo "*** IMPORTANT *** The edited config.local will contain site-specific" | echo "*** IMPORTANT *** The edited config.local will contain site-specific" |
echo " values that should not be modified during subsequent updates to" | echo " values that should not be modified during subsequent updates to" |
echo " NetDRMS. Keep a safe copy of it somewhere outside of the DRMS |
echo " NetDRMS. Keep a safe copy of it somewhere outside of the DRMS" |
echo " directory tree, for example in /usr/local. After each NetDRMS" | echo " directory tree, for example in /usr/local. After each NetDRMS" |
echo " update, ensure this file is in place." | echo " update, ensure this file is in place." |
else | else |
|
|
if ($TPWARN) then | if ($TPWARN) then |
echo "Did you update config.local to create links to installed third-party libraries?" | echo "Did you update config.local to create links to installed third-party libraries?" |
endif | endif |
|
|
|
# Customize compilers |
|
# echo "CUSTOM_COMPILER = gcc" >> custom.mk |
|
# echo "CUSTOM_FCOMPILER = gfortran" >> custom.mk |
|
|
|
# run perl script to do even more configuration |
|
moreconfigure.pl -fcustom.mk |