summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5cc.in
Commit message (Collapse)AuthorAgeFilesLines
* Split tools into src and test - remove foldersAllen Byrne2016-10-271-401/+0
|
* [svn-r30058] Correct typo in compile scripts that causes dropping of ↵Larry Knox2016-06-081-1/+1
| | | | | | filename in -o outfile. Addresses HDFFV-9530 and HDFFV-9938.
* [svn-r26505] Merge r26435 from autotools_rework branch.Jerome Soumagne2015-03-201-1/+1
| | | | | | | Remove DEFAULT_LIBS from configure.ac and irix6.x config file which was using it. Remove references to IRIX/irix* platform.
* [svn-r24077] Updated -help output for compile scripts for changing default ↵Larry Knox2013-08-271-4/+6
| | | | | | from -noshlib to -shlib when hdf5 is built without static libraries (--disable-static). Tested with h5committest on jam, koala, ostrich and platypus.
* [svn-r23527] Revised usage to reflect change to use -shlib as default when ↵Larry Knox2013-04-021-2/+3
| | | | | | no static libraries were built. No test - text only revision of compile scripts.
* [svn-r23431] Fix for HDFFV-8141.Larry Knox2013-03-221-11/+23
| | | | | | | | Changes default value for USE_SHARED_LIB in compile scripts to yes when static is disabled. Comments in scripts about the order of flag variables containing library paths was also corrected. Tested with h5committest on duck, jam, koala, and ostrich in addition to specific testing for the compile script change.
* [svn-r22908] Reverted changes in revision 22819Larry Knox2012-10-161-4/+0
| | | | Tested with h5committest on jam, koala and ostrich.
* [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that ↵Larry Knox2012-09-271-0/+4
| | | | | | if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries. Tested on jam,koala,ostrich(h5committest) and other THG machines.
* [svn-r22170] Removed extraneous svn executable properties from ↵Dana Robinson2012-03-281-0/+0
| | | | non-executable files.
* [svn-r22146] Purpose: ↵Mike McGreevy2012-03-261-1/+1
| | | | | | | | | | | | | | | | | | HDFFV-398: h5cc doesn't work with automake Description: Fixed compiler wrapper scripts to correctly detect compilation when -MT preprocessor flag is provided, fixing a bug in which its *.o argument was added to link_objs but not compile_args. This previously broke usage of h5cc as the provided compiler in configure scripts (like with h5edit) as automake may supply the -MT option to the compiler via the makefiles. Tested: Tested using h5edit and h5committested.
* [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from ↵Larry Knox2010-10-041-8/+65
| | | | | | branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs. Tested on amani, heiwa and jam by h5committest and with CYGWIN.
* [svn-r18057] Bug fix: 1192Albert Cheng2009-12-261-2/+6
| | | | | | | | Description: Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: Jam, both serial and parallel.
* [svn-r17775] Purpose:Mike McGreevy2009-10-281-1/+1
| | | | | | | | | | | | | | h5cc link-line reordering Description: Re-ordered flags in h5cc such that LDFLAGS appears after hdf5 library include path. This is to ensure third party library locations don't interfere with locating the correct version of hdf5 library. Tested: passed daily tests in 1.8 branch (as verified by Larry just now).
* [svn-r17616] Purpose:Mike McGreevy2009-10-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CFLAGS overhaul Description: Modified the way configure handles CFLAGS. (note: all changes also apply to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS). 1. The configure process will now always preserve a user's CFLAGS environment variable setup. Any additional flags necessary for compilation added at configure time will be passed into the Makefiles as AM_CFLAGS, which is an automake construct to be used in addition to CFLAGS. This will allow a user to have the final say, as CFLAGS will always appear later in the compile line than AM_CFLAGS. Additionally, setting CFLAGS during make will no longer completely erase all flags set by configure, since they're maintained in AM_CFLAGS. 2. Additionally, where possible, flags previously being assigned directly into CFLAGS (and thus propagating into h5cc) have now been redirected into H5_CFLAGS, so they're used ONLY for compiling hdf5, and not embedded into the h5cc wrapper script as well. *Note that H5_CFLAGS ultimately is assigned into AM_CFLAGS for use in the Makefiles. Complete description of changes and build process will be included in a Configure Document that Elena and I are working on. 3. Removed unsupported config files. This includes: config/dec-osf* config/hpux11.00 config/irix5.x config/powerpc-ibm-aix4.x config/rs6000-ibm-aix5.x config/unicos* 4. Modified configure summary to display additional values. Specifically, appropriate AM_* variables are being shown, as well as H5_FCFLAGS and H5_CXXFLAGS, which were for some reason not already present. Tested: - H5committest - Tested on all THG / NCSA machines, using several combinations of the more prominent configure options (c++, fortran, szip, threadsafe, parallel, et cetera). (Thanks to Quincey for rysnc testing setup!) - With regards to new automated testing, anything *necessary* for compilation will be caught by the daily tests as it stands now. (i.e., if LDFLAGS is not properly set when szip is used, linking will fail). Additionally, with regards to which flags get into h5cc, if any *necessary* flags have been improperly removed, then daily tests should fail during make installcheck. Additional machine-specific desired behaviors and/or checks may have to be set up separately within the daily tests, so this is something to work on.
* [svn-r13647] Purpose:Albert Cheng2007-04-111-2/+9
| | | | | | | | | | | | bug fix. Description: If a non-existing or empty source file is used with -c option, the script ended up doing nothing and exit 0--a false success. Changed code so that it would do compile and end in error. Tested: Kagiso.
* [svn-r13311] Updated copyright notice.Albert Cheng2007-02-141-13/+14
| | | | | Test: Just visual inspection as these are all comments changes.
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9634] Purpose:Pedro Vicente Nunes2004-12-071-1/+8
| | | | | | | | | | | | | | bug fix Description: added a condition that checks if the hl library is enabled to add it to the list of linking libraries Solution: Platforms tested: linux Misc. update:
* [svn-r9628] Purpose:Pedro Vicente Nunes2004-12-071-3/+6
| | | | | | | | | | | | | | modified h5cc to link with the high level library (libhdf5_hl) Description: added libhdf5_hl.a to the list of libarries to link with Solution: Platforms tested: linux Misc. update:
* [svn-r8043] Purpose:Albert Cheng2004-01-081-0/+16
| | | | | | | | | | | | | Feature Description: Added option -showconfig which Shows the HDF5 library configuration summary Platforms tested: No h5committest test which does not test these tools. Tested in eirene by hand. Misc. update:
* [svn-r6959] Bill Wendling2003-06-041-1/+8
| | | | | | | | | | | | | | | | | Purpose: Bug Fix Description: The flags for the linker on MacOS X were invalid. Solution: If this is a darwin platform (MacOS X), then don't specify the runtime linker flags. Platforms tested: MacOSX (since it only affects it...) Misc. update:
* [svn-r6926] Purpose:Bill Wendling2003-05-291-34/+33
| | | | | | | | | | | | | | | | | | | | Bug Fix Description: The order the libraries are included in the compilation line is very important. Solution: Need to specify the libraries in the order that they are given. If we're building the application staticly, then use the static HDF5 library. Platforms tested: Modi4 Verbena Arabica Misc. update:
* [svn-r6919] Purpose:Bill Wendling2003-05-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: Two things: - static libraries may depend upon the HDF5 library. We should put them before the HDF5 library on the commandline instead of afterwards to avoid conflict. - the CFLAGS weren't being used during linking. This was causing problems on Arabica where the flags are important to distinguish between building a 32-bit and 64-bit application. Solution: - Added logic so that it catches the static libraries and puts them before the hdf5 library on the command line. WARNING: This may not work in all situations...but it should be okay for the good majority. - added the CFLAGS macro to the commandline... Platforms tested: LInux (Colonelk) Arabica Modi4 (Parallel) (Small changes so doesn't need full h5committesting...) Misc. update:
* [svn-r6883] Purpose:Bill Wendling2003-05-151-12/+33
| | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: Lots of things. Mostly, multiple libraries declared on the command line bothered some compilers. Then the order of the libraries is important. Then if you are building static, you don't want an "-lhdf5" flag in your compile line. Solution: Various hacks to remove redundant libraries from the compile line and to keep the order of them and to replace -lhdf5 with the .a file when building static. Platforms tested: Modi4 (Fortran & Parallel) Verbena (Fortran & C++) Arabica (Fortran) Misc. update:
* [svn-r6871] Purpose:Bill Wendling2003-05-131-8/+4
| | | | | | | | | | | | | | | | Fix Description: The way I was checking for -lfoo flags wasn't rigorous enough. Solution: Use a "grep" instead of the "case" statement. Also check that the full "-lfoo" flag is matched instead of just part of it. Platforms tested: Linux (small fix) Misc. update:
* [svn-r6858] Purpose:Bill Wendling2003-05-131-2/+14
| | | | | | | | | | | | | | | | | | Bug Fix Description: Some compilers aren't happy if you specify the same library multiple times when linking. This caused HDF5 Lite to crash during tests on Kelgia Solution: Modified the script so that the shared libraries are specified only once for the commandline. Platforms tested: Kelgia (small fix). Misc. update:
* [svn-r6856] Purpose:Bill Wendling2003-05-131-1/+1
| | | | | | | | | | | | | | | | | | | Bug Fix Description: When doing a "configure" using the h5cc script as the compiler, it would fail to accept the "-E" flag as running the preprocessor. The problem was that it was trying to link the file afterwards. Of course, the file wouldn't be there, so it would fail. Solution: Changed it so that if the -E flag is used, then we don't try to link (this is how it's done in mpicc...I must have copied it wrongly). Platforms tested: Linux & Kelgia (small change not needing full testing) Misc. update:
* [svn-r6545] Purpose:Bill Wendling2003-03-311-3/+11
| | | | | | | | | | | | Update Description: Updated copyright Platforms tested: LInux (Comment change only) Misc. update:
* [svn-r5645] Purpose:Bill Wendling2002-06-161-1/+1
| | | | | | | | | | | | | | | Possible Bug Fix Description: There seems to be a problem with the h5cc script picking up old header files. This may have something to do with the CPPFLAGS macro being set to some nefarious thing and the compiler looking in those directories for the header files instead of the one where HDF5 is actually installed. Solution: Put the -I$includedir first. Platforms tested: None...This is really triggered by the nightly tests. I'm kind of hoping that this will fix things...
* [svn-r5042] Purpose:Bill Wendling2002-03-071-1/+2
| | | | | | | | | | | | | | | | | | Bug Fix Description: Some -I paths weren't included in the h5cc script. That would cause the compiler to fail if it was trying to find gass header files or the like. Solution: Added the CPPFLAGS macro to the h5cc.in file so that it'll be there when it's generated. This will also include some -D options which we compiled the library with, like the LFS flags on Linux. Also changed the configure* files so that it will "chmod" the created h5cc file to 755 (executable) since that wasn't happening all the time... Platforms tested: Linux
* [svn-r4926] Purpose:Bill Wendling2002-02-081-1/+2
| | | | | | | | | | | Bug Fix Description: The library path was relying upon the "exec_prefix" variable. However, we weren't including that into the h5cc script. Solution: Added it. Platforms tested: Linux
* [svn-r4325] Bill Wendling2001-08-101-0/+246
Purpose: New Feature Description: Adding the h5cc script thingy. Platforms tested: Linux