ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/make_basic.mk
Revision 1.64 - (view) (annotate) - [select for diffs]
Thu Mar 11 00:53:09 2010 UTC (13 years, 6 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-1, NetDRMS_Ver_2-2, NetDRMS_Ver_2-3, Ver_5-7, Ver_5-8, Ver_5-9
Changes since 1.63: +2 -2 lines
Diff to previous 1.63
Use localization directory for custom.mk

Revision 1.63 - (view) (annotate) - [select for diffs]
Thu Oct 15 20:10:24 2009 UTC (13 years, 11 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-0, Ver_5-6
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
Ensure that the path to libdsds.so doesnt use /auto/homeX.

Revision 1.62 - (view) (annotate) - [select for diffs]
Wed Oct 14 17:07:41 2009 UTC (13 years, 11 months ago) by arta
Branch: MAIN
Changes since 1.61: +5 -0 lines
Diff to previous 1.61
Move machine-type-guessing code from moreconfigure.pl (which implies that youd have to run configure everytime you want to build on a new machine) to a script, getmachinetype.pl, which is then called directly for make. This is used to get the default third-party-lib locations

Revision 1.61 - (view) (annotate) - [select for diffs]
Tue Oct 13 19:22:37 2009 UTC (13 years, 11 months ago) by arta
Branch: MAIN
Changes since 1.60: +2 -14 lines
Diff to previous 1.60
Add support for ia64 machines, and specific machines (j1, d02, database servers, cluster machines, dcs) to the make/build

Revision 1.60 - (view) (annotate) - [select for diffs]
Tue Oct 6 20:13:24 2009 UTC (13 years, 11 months ago) by kehcheng
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-0b, Ver_5-5
Changes since 1.59: +6 -6 lines
Diff to previous 1.59
added -openmp -static-intel, removed -no-ipo -mcmodel=medium -xW

Revision 1.59 - (view) (annotate) - [select for diffs]
Mon Sep 28 21:09:28 2009 UTC (13 years, 11 months ago) by arta
Branch: MAIN
Changes since 1.58: +0 -2 lines
Diff to previous 1.58
Dont print the gfortran will be assumed warning message

Revision 1.58 - (view) (annotate) - [select for diffs]
Tue Sep 22 23:45:20 2009 UTC (14 years ago) by arta
Branch: MAIN
Changes since 1.57: +5 -2 lines
Diff to previous 1.57
Fully implement the ability to override the output/object directory (eg, use N02 instead of linux_x86_64) and to use machine-specific make variables (for things like third-party library locations).

Revision 1.57 - (view) (annotate) - [select for diffs]
Tue Sep 22 22:49:55 2009 UTC (14 years ago) by arta
Branch: MAIN
Changes since 1.56: +21 -7 lines
Diff to previous 1.56
Use a global define that lists the path to the JSOC tree library directory so that every module that is built knows where its library subtree is (the subtree that is part of the tree that contains the module)

Revision 1.56 - (view) (annotate) - [select for diffs]
Tue Sep 22 17:43:03 2009 UTC (14 years ago) by arta
Branch: MAIN
Changes since 1.55: +18 -63 lines
Diff to previous 1.55
Revamp some make-system files to handle third-party libraries better. There is no longer a lib_third_party directory. The paths to these libraries are specified in the configure script (for Stanford defaults) or in the config.local file (to override defaults and for non-Stanford sites). The only third-party libraries supported in the base system are PostgreSQL and CFITSIO. To use other third-party libraries, project-specific Rules.mk files need to be modified.

Revision 1.55 - (view) (annotate) - [select for diffs]
Fri Sep 4 18:51:15 2009 UTC (14 years ago) by arta
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54
Remove -Wall flag in default make

Revision 1.54 - (view) (annotate) - [select for diffs]
Thu Sep 3 22:36:43 2009 UTC (14 years ago) by arta
Branch: MAIN
Changes since 1.53: +4 -2 lines
Diff to previous 1.53
When building, dont show inline reports by default.

Revision 1.53 - (view) (annotate) - [select for diffs]
Thu Aug 20 18:46:10 2009 UTC (14 years, 1 month ago) by arta
Branch: MAIN
Changes since 1.52: +8 -1 lines
Diff to previous 1.52
Added support for JSOC_WARNICC to pass a string to compiler (for custom actions on warnings).

Revision 1.52 - (view) (annotate) - [select for diffs]
Fri Aug 14 18:47:47 2009 UTC (14 years, 1 month ago) by arta
Branch: MAIN
Changes since 1.51: +5 -8 lines
Diff to previous 1.51
Disable the suppression of warning messages from the release build. Also, disable suppression of specific warning messages (some errors were suppressed from the debug build). So now all warning messages are displayed.

Revision 1.51 - (view) (annotate) - [select for diffs]
Tue Aug 4 02:29:17 2009 UTC (14 years, 1 month ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-0b1, Ver_5-2, Ver_5-3
Changes since 1.50: +6 -2 lines
Diff to previous 1.50
Make warning #266 an error if the compiler is icc - not declaring a function can cause very subtle and hard to find bugs

Revision 1.50 - (view) (annotate) - [select for diffs]
Fri Jul 31 23:09:32 2009 UTC (14 years, 1 month ago) by arta
Branch: MAIN
Changes since 1.49: +9 -1 lines
Diff to previous 1.49
Fix for release build of o2helio failing on n00 - problem was that the ic -xW flag was set, but it shouldn't have been since it is relevant only on x86_64

Revision 1.49 - (view) (annotate) - [select for diffs]
Mon Jul 27 23:50:08 2009 UTC (14 years, 2 months ago) by arta
Branch: MAIN
Changes since 1.48: +5 -5 lines
Diff to previous 1.48
Fix for the wrong combination of the ifort ftrapuv flag and optimization

Revision 1.48 - (view) (annotate) - [select for diffs]
Fri Jul 24 23:42:52 2009 UTC (14 years, 2 months ago) by rick
Branch: MAIN
Changes since 1.47: +13 -11 lines
Diff to previous 1.47
improved use of custom.mk for PGIPATH & ECPGL, simplified (some)

Revision 1.47 - (view) (annotate) - [select for diffs]
Fri Jul 24 14:13:48 2009 UTC (14 years, 2 months ago) by arta
Branch: MAIN
Changes since 1.46: +8 -8 lines
Diff to previous 1.46
can't remember what this was for - checking in so I can get a better diff

Revision 1.46 - (view) (annotate) - [select for diffs]
Fri Jun 5 21:03:51 2009 UTC (14 years, 3 months ago) by arta
Branch: MAIN
Changes since 1.45: +126 -43 lines
Diff to previous 1.45
Modify make system to accommodate non-ifort fortran compiler. All the flags previously defined were specific to ifort. I also added a script that determines which C and Fortran compilers are installed, and then sets those in the make system. You can override the compilers with environment variables - CUSTOM_COMPILER and CUSTOM_FCOMPILER.; Also fix broken gcc build in proj/lev0

Revision 1.45 - (view) (annotate) - [select for diffs]
Tue Apr 21 04:27:52 2009 UTC (14 years, 5 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-0a2, Ver_5-1
Changes since 1.44: +11 -11 lines
Diff to previous 1.44
Fix broken build - configure and make_basic.mk were modified, but this broke configure and broken the build as well.  Revert to the previous version of those two files

Revision 1.44 - (view) (annotate) - [select for diffs]
Tue Apr 21 00:45:16 2009 UTC (14 years, 5 months ago) by rick
Branch: MAIN
Changes since 1.43: +11 -11 lines
Diff to previous 1.43
a few of Joe Hourcle's changes to start using custom.mk

Revision 1.43 - (view) (annotate) - [select for diffs]
Fri Apr 17 00:34:25 2009 UTC (14 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42
During export, check keyword names - don't use reserved ones (bzero, bitpix, etc.); general functions to clean up memory allocated, especially by lib DRMS

Revision 1.42 - (view) (annotate) - [select for diffs]
Wed Apr 15 20:08:20 2009 UTC (14 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.41: +4 -6 lines
Diff to previous 1.41
More fixes to make_basic.mk - remove unused MATHLIBS variable and replace with FMATHLIBS; document drms_copykeys; clean up proj/example/apps - make fortran module variable name have _sock in it, since only sock fortran modules can be made

Revision 1.41 - (view) (annotate) - [select for diffs]
Fri Apr 10 22:29:02 2009 UTC (14 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.40: +7 -7 lines
Diff to previous 1.40
make file/rule changes for mac

Revision 1.40 - (view) (annotate) - [select for diffs]
Fri Apr 10 20:19:49 2009 UTC (14 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.39: +3 -4 lines
Diff to previous 1.39
Fixes for _GNU_SOURCE defines - add the flag to the compile of all files under linux. Put individual file defines with #if __linux__

Revision 1.39 - (view) (annotate) - [select for diffs]
Wed Apr 8 18:31:52 2009 UTC (14 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.38: +20 -7 lines
Diff to previous 1.38
clean up the make files a bit - in the examples folder, an exe was re-inventing the wheel, which already existed in make_basic.mk

Revision 1.38 - (view) (annotate) - [select for diffs]
Fri Feb 6 00:25:08 2009 UTC (14 years, 7 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-0a1
Changes since 1.37: +0 -1 lines
Diff to previous 1.37
localization changes and fixes for NetDRMS2.0beta

Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Jan 29 19:06:04 2009 UTC (14 years, 7 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_2-0a, Ver_5-0
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
Fix __LOCALIZED_DEFS__ define

Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Jan 29 18:57:22 2009 UTC (14 years, 7 months ago) by arta
Branch: MAIN
Changes since 1.35: +4 -0 lines
Diff to previous 1.35
Use __LOCALIZED_DEFS__

Revision 1.35 - (view) (annotate) - [select for diffs]
Wed Jan 28 22:57:31 2009 UTC (14 years, 7 months ago) by arta
Branch: MAIN
Changes since 1.34: +6 -6 lines
Diff to previous 1.34
Add Rick's code for accessing the jsoc.drms_sites table. I split this into server and client versions of the code, since you can't directly access the database from sock-connect modules. Modify drms_storageunit.c to use these new functions (remote the dummy hard-coded stuff that used to be used)

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Dec 3 20:40:43 2008 UTC (14 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
Remove -lrt, use gettimeofday instead.

Revision 1.33 - (view) (annotate) - [select for diffs]
Wed Dec 3 20:25:32 2008 UTC (14 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Added sumsapi to _sock modules linking.  Needed to use SUM_info.

Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Dec 3 18:28:31 2008 UTC (14 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
added -lrt to SYSLIB for fractional second system time

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Nov 19 00:57:45 2008 UTC (14 years, 10 months ago) by arta
Branch: MAIN
Changes since 1.30: +15 -8 lines
Diff to previous 1.30
Ticket #53 - implemented the first 4 items on the final 'to-do' list. Still need to create set_retention.

Revision 1.30 - (view) (annotate) - [select for diffs]
Thu Oct 16 22:08:04 2008 UTC (14 years, 11 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_1-1, Ver_4-7
Changes since 1.29: +3 -4 lines
Diff to previous 1.29
Ticket #88 - Set the DEBUG flag back to 0.  We no longer need to have debug by default for debugging instability issues.

Revision 1.29 - (view) (annotate) - [select for diffs]
Thu Oct 16 21:50:49 2008 UTC (14 years, 11 months ago) by rick
Branch: MAIN
Changes since 1.28: +24 -13 lines
Diff to previous 1.28
added support for different mac architectures

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Oct 8 23:46:15 2008 UTC (14 years, 11 months ago) by arta
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
Improve efficiency when reading and writing TAS slices. First, the fits_write_subset() call can do a lot of file seeking and reading. Instead, and if the image to be written is contiguous in memory, use the fits_write_img() call. Second, cache the desirable parts of the fits file header. If you don't do this, and then you request something like bitpix from cfitsio, it might have to seek to the header part of the file and re-read in the bitpix part of the header. This could happen easily as cfitsio buffers file access, and the number of buffers is small. cfitsio doesn't save the header in a structure - it lives only in these ephemeral buffers.

Revision 1.27 - (view) (annotate) - [select for diffs]
Thu Sep 18 16:41:59 2008 UTC (15 years ago) by arta
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
Ticket #88 - Make DEBUG builds (with debug symbols) by default - we must revert this back to no symbols before release

Revision 1.26 - (view) (annotate) - [select for diffs]
Tue Sep 2 20:01:08 2008 UTC (15 years ago) by arta
Branch: MAIN
CVS Tags: Ver_4-6
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
Add test code to getorbitinfo - checks that gci and hci values in FDS data are what we expect

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Jul 16 18:51:33 2008 UTC (15 years, 2 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_1-0, Ver_4-5
Changes since 1.24: +8 -2 lines
Diff to previous 1.24
Make _gcc not the default for gcc build of cfitsio.  You have to specify in configure script if you want to look for _gcc

Revision 1.24 - (view) (annotate) - [select for diffs]
Tue Jul 15 20:59:32 2008 UTC (15 years, 2 months ago) by arta
Branch: MAIN
Changes since 1.23: +7 -0 lines
Diff to previous 1.23
For x86_64, there are 2 flavors of cfitsio - icc and gcc.  Use the gcc version if the compiler is gcc

Revision 1.23 - (view) (annotate) - [select for diffs]
Mon Jul 14 22:22:20 2008 UTC (15 years, 2 months ago) by arta
Branch: MAIN
Changes since 1.22: +9 -1 lines
Diff to previous 1.22
Make default compiler for mac users gcc and f77; also in configure make the non-su lib link be from lib_third_party/lib/<mach> to destination

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Jul 14 21:06:04 2008 UTC (15 years, 2 months ago) by arta
Branch: MAIN
Changes since 1.21: +1 -5 lines
Diff to previous 1.21
Don't make 3rd party links from lib_third_party/include to /home/jsoc/include, else all includes have to reside in the same directory (which isn't always the case).  Same for libraries.

Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Jun 23 18:43:00 2008 UTC (15 years, 3 months ago) by arta
Branch: MAIN
Changes since 1.20: +7 -4 lines
Diff to previous 1.20
jsoc_export now writes the index.txt file which provides a table of contents or packing list of sorts to the export requestor.  It also operates in cmd-line mode now, where it accepts the record-set query on the cmd-line (it will still optionally accept the rsquery from an export series record).

Revision 1.20 - (view) (annotate) - [select for diffs]
Tue May 20 17:19:20 2008 UTC (15 years, 4 months ago) by tplarson
Branch: MAIN
CVS Tags: NetDRMS_Ver_0-9, Ver_4-3, Ver_4-4
Changes since 1.19: +10 -0 lines
Diff to previous 1.19
ART: Add general make rules to support C modules that require linking with Fortran object files/libraries - use when must link with ifort

Revision 1.19 - (view) (annotate) - [select for diffs]
Tue May 6 15:22:12 2008 UTC (15 years, 4 months ago) by arta
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Initial implementation of record-chunking (minus the code that actually uses a cursor to fetch from the return set.  This commit is everything but that - right now, drms_open_records() is used instead of the call to fetch with a cursor)

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Apr 18 21:31:05 2008 UTC (15 years, 5 months ago) by karen
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
correct mistake from previous commit, make icc default

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Apr 18 21:25:32 2008 UTC (15 years, 5 months ago) by karen
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16
perl interface for sumsapi

Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Apr 10 23:26:44 2008 UTC (15 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15
Add variables that hold include and library paths for gsl libraries

Revision 1.15 - (view) (annotate) - [select for diffs]
Thu Apr 10 19:31:19 2008 UTC (15 years, 5 months ago) by arta
Branch: MAIN
Changes since 1.14: +12 -12 lines
Diff to previous 1.14
Add -L flag for openMP and modify configure to check for libgsl

Revision 1.14 - (view) (annotate) - [select for diffs]
Tue Apr 8 00:31:26 2008 UTC (15 years, 5 months ago) by arta
Branch: MAIN
CVS Tags: Ver_4-2
Changes since 1.13: +13 -2 lines
Diff to previous 1.13
Fixes so mac can build

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Mar 12 14:45:40 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
Changes since 1.12: +16 -18 lines
Diff to previous 1.12
Set -L and -l flags for cfitsio compile for gcc build

Revision 1.12 - (view) (annotate) - [select for diffs]
Mon Mar 10 18:32:23 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
Changes since 1.11: +5 -1 lines
Diff to previous 1.11
Remove -lm from icc builds

Revision 1.11 - (view) (annotate) - [select for diffs]
Mon Mar 10 18:19:13 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
Changes since 1.10: +7 -3 lines
Diff to previous 1.10
First commit of new segment read/write code that uses the cfitsio wrapper library

Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Mar 5 15:56:13 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_0-8, Ver_4-1
Changes since 1.9: +6 -4 lines
Diff to previous 1.9
Change SUMS from gcc/icc hybrid to either all icc (default) or all gcc.

Revision 1.9 - (view) (annotate) - [select for diffs]
Tue Mar 4 23:42:12 2008 UTC (15 years, 6 months ago) by rick
Branch: MAIN
Changes since 1.8: +6 -4 lines
Diff to previous 1.8
added generic GCC make rule so that there is something even if $JSOC_MACHINE
is generic or unrecognized; it happens to be identical to the rule for the
linux_ia64

Revision 1.8 - (view) (annotate) - [select for diffs]
Tue Mar 4 20:32:17 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Try removing march=itanium2 flag

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Mar 4 18:44:31 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
CVS Tags: NewTree01_cp09_JSOC
Changes since 1.6: +13 -4 lines
Diff to previous 1.6
Changes to build flags for ia64

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Feb 29 23:30:21 2008 UTC (15 years, 6 months ago) by arta
Branch: MAIN
Changes since 1.5: +6 -4 lines
Diff to previous 1.5
Add Tim's cfitsio wrapper library (fitsrw).

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Feb 8 00:52:43 2008 UTC (15 years, 7 months ago) by arta
Branch: MAIN
CVS Tags: NewTree01_cp08_JSOC
Changes since 1.4: +4 -4 lines
Diff to previous 1.4
Modify configure script to create links, for STanford users, to third-party libraries installed on ~jsoc/lib.

Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Jan 23 20:58:53 2008 UTC (15 years, 8 months ago) by karen
Branch: MAIN
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
Removed authentication between drms_server and client module. -lcrypto is no longer needed

Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Oct 16 22:48:15 2007 UTC (15 years, 11 months ago) by arta
Branch: MAIN
CVS Tags: NetDRMS_Ver_0-7, NewTree01_cp05_JSOC, NewTree01_cp06_JSOC, NewTree01_cp07_JSOC, Ver_4-0
Changes since 1.2: +6 -6 lines
Diff to previous 1.2
Move JSOC/src/base to JSOC/base and JSOC/src/proj to JSOC/proj.  86 JSOC/src.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Oct 12 21:47:51 2007 UTC (15 years, 11 months ago) by arta
Branch: MAIN
CVS Tags: NewTree01_cp03_JSOC, NewTree01_cp04_JSOC
Changes since 1.1: +0 -14 lines
Diff to previous 1.1
Add the three meta-libraries.  Fix libidl.so build.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Oct 2 00:12:19 2007 UTC (15 years, 11 months ago) by arta
Branch: MAIN
Branch point for: Vtag
Initial revision

Convenience Links

Links to HEAD: (view) (annotate) Links to Ver_5-7: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a