1
1
Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
ace1717ca7 Patch from Brian to add in proper linker libraries
This commit was SVN r17919.
2008-03-21 23:00:54 +00:00
Jeff Squyres
8189fcc7d5 Back out r17702; it went very badly.
This commit was SVN r17704.

The following SVN revision numbers were found above:
  r17702 --> open-mpi/ompi@3df754ebd7
2008-03-05 00:42:39 +00:00
George Bosilca
d0f30e521b After the 10.5.1 update this bug is still valid. Remove the -g from all
Leopard versions (until they fix it).

This commit was SVN r16762.
2007-11-21 03:10:05 +00:00
Jeff Squyres
33257f2b56 Remove -g from CCASFLAGS if on OS X Leopard. Fixes trac:1179.
This commit was SVN r16671.

The following Trac tickets were found above:
  Ticket 1179 --> https://svn.open-mpi.org/trac/ompi/ticket/1179
2007-11-06 12:02:11 +00:00
Jeff Squyres
748fc31906 Change everywhere we do a "rm -f conftest*" to "rm -rf conftest" to
cover the case where a subdirectory is also built that needs to be
removed.

Note that there are other macros that we don't control (AC, AM, and/or
LT) that also exhibit this problem that we cannot fix.  :-\

Fixes trac:1180.

This commit was SVN r16669.

The following Trac tickets were found above:
  Ticket 1180 --> https://svn.open-mpi.org/trac/ompi/ticket/1180
2007-11-06 01:32:42 +00:00
Brian Barrett
1d02b9e7b5 Fix a bunch of issues exposed by Ken Cain in getting Open MPI to work with
VxWorks.  Still some issues remaining, I'm sure.

Refs trac:1010

This commit was SVN r15320.

The following Trac tickets were found above:
  Ticket 1010 --> https://svn.open-mpi.org/trac/ompi/ticket/1010
2007-07-10 03:46:57 +00:00
Brian Barrett
38698adf29 Use the AC_PROG_GREP available in AC 2.60 and later. This works around
an issue on Solaris where /usr/bin/grep doesn't understand -q.  The
grep that AC_PROG_GREP finds (/usr/xpg4/bin/grep), which is POSIX
compliant and understands -q.  Also fix one instance where egrep was
used instead of $EGREP.

This commit was SVN r14829.
2007-06-01 02:31:15 +00:00
Josh Hursey
5a0f268ddd fix minor typo
This commit was SVN r13677.
2007-02-16 01:36:59 +00:00
Brian Barrett
9111f74627 More escaping fixes in the build system. Anything in the Makefile needs to
have $ escaped to $$.  Also, remove one more place for the shell to
expand those $s in the format string.

This commit was SVN r11809.
2006-09-26 02:37:35 +00:00
Brian Barrett
ad48aa82e9 A number of changes for improved Alpha support:
* Use $31 instead of mnemonic zero for the gcc inline
    assembly test, as the GNU assembler doesn't like
    zero, but both Tru64 and GNU assembler should be fine
    with $31
  * Disable Linux timer component on Alpha.  The CPU timer
    rolls over every 10 seconds or less, so it's kinda
    worthless for our needs.
  * Fix some escaping issues when local functions are
    denoted with a $
  * Remove C++ comments from the Alpha assembly.
  * Add base assembly code for the non-inlined functions
    on Alpha

This commit was SVN r11764.
2006-09-23 03:23:57 +00:00
Brian Barrett
e3497a8bff Fix a number of places where we can cause errors in configure if CFLAGS /
CXXFLAGS are set to -Wall -Werror.  Thanks to Ralf for the patch.

refs trac:290

This commit was SVN r11762.

The following Trac tickets were found above:
  Ticket 290 --> https://svn.open-mpi.org/trac/ompi/ticket/290
2006-09-22 23:58:23 +00:00
Brian Barrett
8622fe8874 * be more liberal about about which platforms we consider to be alpha,
so that we include all the ev series on platforms that report more than
  just "alpha".  Fixes one of many issues on Alpha reported by a user.

refs trac:380

This commit was SVN r11683.

The following Trac tickets were found above:
  Ticket 380 --> https://svn.open-mpi.org/trac/ompi/ticket/380
2006-09-17 23:14:17 +00:00
Rainer Keller
12166eb0d7 - The intel-based assembler on ia64 (such as NEC's ecc) needs
.proc/.endp-declarations for functions in order to be able to
   link successfully.
   Currently used in configure, only.
   
   There has not been found another arch, where this is necessary.
   So asm-data.txt and base/default.conf has not been changed.

This commit was SVN r11068.
2006-07-31 22:30:07 +00:00
Brian Barrett
03cc22842c fix error message typo and correct the flag that should be provided to gcc
to force v8+ ABI

This commit was SVN r10438.
2006-06-20 16:25:31 +00:00
Brian Barrett
d96554a482 * Fix for issue #144. With the opal_atomic_lifo code, we can no longer build
on platforms without a 32-bit compare and swap implementation.  There isn't
  such a thing on Sparc v8 chips, so we can't support those platforms right
  now.  Should be possible to make opal_atomic_lifo less atomic on these
  platforms, but not in the time allotted.

This commit was SVN r10407.
2006-06-17 18:45:29 +00:00
Brian Barrett
7e1befaab8 * Fix M4 quoting so that AC 2.60 won't complain
Submitted by: Ralf Wildenhues
Reviewed by: Brian Barrett

This commit was SVN r10128.
2006-05-31 03:37:31 +00:00
Brian Barrett
5bd1be7ac4 * clean up some configure --help output as reported on OMPI mailing list.
This should probably go to 1.1...

This commit was SVN r9722.
2006-04-26 02:07:19 +00:00
Brian Barrett
db5bc19785 * work around bumm assembly result on linux ppc32, which was claiming
support for 64 bit opcodes

This commit was SVN r9284.
2006-03-15 03:33:46 +00:00
Brian Barrett
b57a6b4a62 * PGI 6.1 kind of (but not completely) supports GCC inline assembly. Previous
versions didn't even make an attempt.  Disable the not-quite-right issues
  inline assembly support with PGI 6.1.

This commit was SVN r9240.
2006-03-10 02:11:41 +00:00
Brian Barrett
c2fded586a * Andrew F. pointed out I can't spell...
This commit was SVN r9186.
2006-03-01 03:13:22 +00:00
Brian Barrett
7fa1c0eeb2 * if the default compile mode is 64bit, config.guess will call a MIPS
machine mips64

This commit was SVN r9185.
2006-03-01 02:25:09 +00:00
Brian Barrett
80c5e5c8ba * fix assembly issues for linux, which wants a notation to make the stack
non-executable.

  This should go to the v1.0 branch

This commit was SVN r8673.
2006-01-11 04:49:40 +00:00
Brian Barrett
f9018a148c per conversation with George, don't try to figure out all the assembly
information on Windows with the CL compiler.  We don't use it, and we
were running into trouble with the compiler on some tests

This commit was SVN r8558.
2005-12-20 01:34:27 +00:00
Brian Barrett
79396ea5a5 * Fix small issues when using an assembler directly, rather than through
a compiler
* Work around fact that ias (Intel Assembler) emits a banner at all times...

This commit was SVN r8555.
2005-12-20 00:49:59 +00:00
Brian Barrett
e574fd7fbe - update some svn ignores
- don't fail to configure if threads aren't found, since
  we don't have thread support on windows
- rather than setting the asm file name to none in asm-data,
  special case windows w/ CL in the ompi_config_asm macros.
  Otherwise, there were some warnings during make dist and
  configure that didn't need to be there.

This commit was SVN r8502.
2005-12-15 04:19:16 +00:00
Brian Barrett
372f9b0f29 * it appears Solaris on Opteron identifies itself as i386-pc-solaris2.10, not
x86_64 as most opterons do.  So add test to see how many bytes a long is,
  and if it's 8 bytes, assume we're on an AMD64 instead of an IA32 for the
  purposes of assembly.

This commit was SVN r8384.
2005-12-06 13:31:05 +00:00
Jeff Squyres
42ec26e640 Update the copyright notices for IU and UTK.
This commit was SVN r7999.
2005-11-05 19:57:48 +00:00
Brian Barrett
76d1a808e9 disable GCC-style inline assembly when on AIX. The IBM compiler does a really,
really crappy job of trying to emulate the inline assembly mode of GCC (and will
completely rewite the assembly, which seems to be bad in my opinion).  GCC and
the AIX assembler don't see eye-to-eye on what GCC emits when doing inline
assembly.  That's two compilers and no actual working support.  So just punt and
fall back to XLC inline assembly or non-inlined assembly.

This commit was SVN r7800.
2005-10-18 19:04:35 +00:00
Jeff Squyres
4637ca6027 Use AC_FD_CC uniformly (one & was missing).
This commit was SVN r7407.
2005-09-16 12:28:53 +00:00
Brian Barrett
2787d993a9 * Add checks for fork/execve/setpgid for slurm components so that they
automagically don't build on platforms without such things
* Fix for mistaken use of cache variable in assembly setup
* one more cached test hits the books

This commit was SVN r7404.
2005-09-16 04:51:09 +00:00
Brian Barrett
cf04b2da3c * bunch of changes to make better use of config cache. Almost everything in the
C / C++ tests now use the caching scheme.  Only exception is C++ exception
  handling code, which is disabled by default, so I'm not too worried about making
  that configure faster :)

This commit was SVN r7403.
2005-09-16 02:49:31 +00:00
Brian Barrett
56e10a49da * Test for case where user is building 32 bit on Opteron. In such a case,
we should fall back to IA32 assembly instructions

This commit was SVN r6859.
2005-08-13 18:32:36 +00:00
Brian Barrett
e84a02d79c Allow the C and C++ compilers to support different methods of inline
assembly (including case where one supports inline assembly and the
other doesn't).

This commit was SVN r6714.
2005-08-02 19:51:57 +00:00
Brian Barrett
a991d883c1 * Rewrite ompi_mca.m4 to use m4_defined lists of projects (ompi, orte, etc.),
frameworks, and components without configure scripts instead of
  hard-coded shell variables (for projects and frameworks) and 
  shell variable building (for components).
* Add 3rd category of component configuration (in addition to configure
  scripts and no-configured components): configure.m4 components.  These
  components can only be built as part of OMPI (like no-configure), but
  can provide an m4 file that is run as part of the main configure
  script.  These macros can set whether the component should be built, 
  along with just about any other configuration wanted.  More care must
  be taken compared to configure components, as doing things like setting
  variables or calling AC_MSG_ERROR now affects the top-level configure
  script (so calling AC_MSG_ERROR if your component can't configure
  probably isn't what you want)
* Added support to autogen.sh for the configure.m4-style components,
  as well as building up the m4_define lists ompi_mca.m4 now expects
* Updated a number of macros to be more config.cache friendly (both
  so that config.cache can be used and so the test can be quickly
  run multiple times in the same configrue script):
    - ompi_config_asm
    - c_weak_symbols
    - c_get_alignment
* Added new macros to be shared when configuring components:
    - ompi_objc.m4 (this actually provides AC_PROG_OBJC - don't ask...)
    - ompi_check_xgrid
    - ompi_check_tm
    - ompi_check_bproc
* Updated a number of components to use configure.m4 instead of
  configure.stub
    - btl portals
    - io romio
    - tm ras and pls
    - bjs, lsf_bproc ras and bproc_seed pls
    - xgrid ras and pls
    - null iof (used by tm) 

This commit was SVN r6412.
2005-07-09 18:52:53 +00:00
Brian Barrett
a4468e60c2 * change src/ to opal/ in asm paths
This commit was SVN r6285.
2005-07-02 14:57:46 +00:00
Brian Barrett
35375f0653 * Fix bug in symbol generation code for default.conf where we weren't prefixing
function names with the GSYM (like we should be)
* Add support for PPC64/Linux in atomics

This should go to the beta branch.

This commit was SVN r6163.
2005-06-24 16:16:17 +00:00
Brian Barrett
d474b2c3fc AIX sed passes unmatched lines through unchanged, so first find the
lines we want

This commit was SVN r5411.
2005-04-17 22:14:13 +00:00
Brian Barrett
d737000a5e * fix to make platform detection work on Linux Sparc
This commit was SVN r5134.
2005-04-01 15:49:27 +00:00
Brian Barrett
ed7f80dddf * fix dumb typo
This commit was SVN r5041.
2005-03-26 20:07:31 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
60a1ca77e9 * Updates to make MIPS actually work. Could clean up the assembly a bit :)
This commit was SVN r4469.
2005-02-18 23:16:04 +00:00
Brian Barrett
dc3165f1ea * fix dumb warning printing mistake
This commit was SVN r4466.
2005-02-18 20:26:46 +00:00
Brian Barrett
927c5be6c8 NOTE: You need to re-autogen after this commit. Sorry :(
* SPARC Assembly fixes:
  - Use SPARC assembly type only when not able to use the SPARC v9
    instruction set (instead of previous whenever sizeof(void*) == 4
  - Use SPARCV9_32 (aka sparc v8plus) and SPARCV9_64 (aka sparc v9) when
    possible.  Already were doing so for the 64bit, but on 32bit we
    were falling back to SPARC.
  - Implemented SPARCV9_32 atomic operations
  - Emit warning if user is going to get SPARC atomic, as that probably
    isn't what the user wants for best performance.
* Started shell of MIPS assembly.  Does not work, but wanted something
  so that everyone would only have to re-autogen once today....

This commit was SVN r4465.
2005-02-18 20:10:29 +00:00
Brian Barrett
a2caf839c0 * Initial try at making OMPI atomic operations work properly on Solaris
- SPARC32 has spinlocks and "pseudo atomic" math
  - SPARC64 has spinlocks, compare & set, atomic math (still in s/w)

This commit was SVN r4433.
2005-02-14 22:07:08 +00:00
Brian Barrett
76054e0b31 * add a label to the assembly being tested for GCC inline assembly so that
the test barfs on AIX, since it has some strange non-mangling of the
  labels in the inline assembly that all the other platforms seem to be
  ok making right.  *sigh*

This commit was SVN r4365.
2005-02-10 00:38:44 +00:00
Brian Barrett
cd985bba51 * Fix some issues when there was a space in the asm format string
* Extend the generate-asm.pl script to allow for the AIX global
  function format

This commit was SVN r4256.
2005-01-31 04:16:54 +00:00
Brian Barrett
0c48499661 * change OMPI_POWERPC_SUPPORT_64BIT to OMPI_ASM_SUPPORT_64BIT, since it
looks like we need to do the same thing for UltaSparc / MIPS machines
* The atomic_cmpset_64 bit code made some assumptions about calling
  convention that wouldn't be true if the function was inlined.  Fix
  those assumptions, so we should work fine whether GCC inlines
  the function or not.

This commit was SVN r4249.
2005-01-30 04:56:38 +00:00
Rainer Keller
5c5cd76df3 Perl tries to create the generated assembler-ouput
in directory src/asm/generated/, which for VPATH-builds
is at configure-time not yet created.
mkdir -p it...

This commit was SVN r4197.
2005-01-28 00:43:49 +00:00
Brian Barrett
9c1a277804 * Update build system to support non-GCC inline assembly, including detection
of assembler format
* Fix minor bugs in AMD64, PPC, and IA32 assembly for atomic operations
* Clean up the #defines to look for when examining level of atomic operation
  support

This commit was SVN r4183.
2005-01-27 01:39:55 +00:00