Disable qthreads+numa+gasnet testing on chap05.

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23150 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Do not check for perf keys on timeout 

[reviewed by lydia] 

Brad noticed that on execution timeout for a performance run we would still
check for the performance keys and more curiously we would print out success
matching performance keys when they clearly weren't matched. 

The reason for this was because on timeout computePerfStats would not return an
error so sub_test assumed key matching happened normally. 

This patch changes things so that we skip perf key checking when we had a
timeout. It also returns an error if the timeout occurred although that error is
now really ignored since we no longer print out success or failure matching
performance keys if there was a timeout (that way you don't get duplicate
errors about not matching perf keys and a timeout.) 



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23151 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Enabled RE2 and GMP for nightly testing.

[reviewed by Thomas]

At the moment, I am enabling them wholesale.
Will adjust based on nightly outcomes.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23152 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
I had updated the perfkeys and perfexecopts for a more informative problem size,
but had missed the graph file.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23153 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Add svn ignores

[trivial, not reviewed]

Add ignores for:
 - test/execflags/bradc/callStackSize.good
 - test/performance/compiler/elliot/passCheck.good




git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23154 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Back out removal of wait in r22715.

The wait statement waits for a child process to die before returning from
free_workers.  Without it, the script may start the grep process for a
directory before the child process has had a chance to creat the corresponding
log file.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23155 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Adds the ability to partially instantiate generic functions.

[Reviewed by Tom Hildebrandt]

This patch splits the instantiation process for generic functions into two
separate phases.  The first instantiates the function's signature (and some
other AST elements that are needed during the resolution process) and the
second phase instantiates the function's body.

These changes are needed for future work on constrained generics.  In addition,
this will reduce the memory usage and runtime of the compiler, as it will no
longer have to copy/instantiate the bodies of generic functions that are never
resolved as the target of a call site.

A README file was added to the technotes with a more detailed description of
the changes made.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23156 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fixed an issue with third-party/re2 build when 'install_name_tool' is not found.

[trivial]

Remark: to my surprise, in sh/bash the following command succeeds: [ -n ]
(and so does [ -z ] ).


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23157 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Added svn:ignore to third-party/re2

[trivial]

Similarly to gasnet, 'build' and 'install' are to be svn-ignored.
As well as 're2'.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23158 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Use nightly test environment when running smokeTest.

Updates common.bash to use existing CHPL_HOME, defaulting to ~/chapel. Sources
common.bash before running `make check` in smokeTest script.

r: lydia-duncan

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23159 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Convert class assignment to use the new signature.

Make the implementation of class assignment explicit in ChapelBase.chpl.

The where clause "where isClassType(a)" is used in preference to the signature
  proc =(ref a:object, b:a.type)
to constrain 'a' to be of class type, because the latter causes the compiler to
insert a temporary so it can cast an LHS of class type (other than object) to
object.  It then complains that the LHS is not a legal lvalue (because it is a
temporary).

In addition, we really do want to constrain the RHS operand to be coercible to
the actual type of "a" rather than to "object".  Otherwise, any class object
can appear on the RHS, which may lead to absurdities.  For example,
  class C {}
  class D : C {}
  var c:C = new C();
  var d:D;
  d = c;  // Implies (dynamic) down-cast from base to derived type.
If assignment performs this cast implicitly (without emitting an explicit
dynamic cast), then statements following the assignment might access an object
that does not have the runtime type of D as if it were a D.  This in turn can
lead to invalid field accesses.


[tested on examples/ (std)]
[tested on / (no-local)]
[reviewed by bradc, vass]


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23160 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Adding a performance test to compare if/else statements and select statements.
There are several comparisons included: when each branch is equally likely, when
later branches are more likely, when earlier branches are more likely, when
middle branches are more likely, and when the number of each branch encountered
is random.  Currently, only the balanced and random cases have their own graph
file.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23161 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Propagating my short-circuiting changes to the release version and brad version
of chameneos.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23162 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Disabled third-party/re2 build for nightly testing on mac and linux32.

[reviewed by Thomas]

Those builds are failing for us at the moment - disabling them
until we fix them.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23163 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Revert "Temporarily move chpbld02 tests to Wed at 2pm."

This reverts commit r23054.

git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23164 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Fixing windows/cygwin testing

Cygwin testing has been working, but not mailing because I forgot
to direct it to use 'email' rather than 'Mail'.  This corrects
that by setting CHPL_MAILER in the environment for windows testing.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23165 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Add memory_order argument to network atomics

[reviewed by Elliot]

This patch adds the memory_order argument with default value to the
network atomics versions of the methods, so that their signatures
match those of the processor atomics.

Note that this is currently dropped on the floor for *all* atomic
types and implementations.

Also, change existing atomics interface tests to pass in the optional
argument, just to test the interface.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23166 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Add item about the fact that we ignore memory_order arguments to
methods on atomics.



git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23167 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Added some tests/futures relating to ref/out/inout formals for class types.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23168 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Disabled third-party/gmp build for nightly testing on mac.

[not reviewed - analogous to r23163]

That builds is failing for us at the moment - disabling until we fix it.


git-svn-id: svn+ssh://svn.code.sf.net/p/chapel/code/trunk@23169 3a8e244f-b0f2-452b-bcba-4c88e055c3ca