[docs] Changed formatting for h3 and lower
Use cram for command-line tests

We know use cram [1] to run any command-line tests in our C projects.
It provides the same functionality as our cobbled-together `run-test`
and `train` scripts, with a nicer interface.

[1] https://bitheap.org/cram/
Merge branch 'release/0.1.1' into develop

* release/0.1.1:
  Update prereqs for 0.1.1
Use develop branches of prereq libraries
Set library version correctly

We were using SOVERSION to set the full build version of our shared
libraries.  SOVERSION should only contain the first number of the build
version triple.  The VERSION property is what should contain the
library's full build version.  Also, the CMake build file now includes a
description of when and how to update the library version.  (It
*shouldn't* match the package's release version.)
Don't use GLOB to detect library source files
Better CMake 2.6 support

I guess the default output directory for configure_file in 2.6 is the
root, not the current binary directory.
Merge remote-tracking branch 'template/c-template' into develop

* template/c-template:
  Better CMake 2.6 support
  Don't use GLOB to detect library source files
  Set library version correctly
  Use cram for command-line tests
  [docs] Changed formatting for h3 and lower
Fix add_test() to work with cmake 2.6

This patch makes the usage of add_test() in tests/CMakeLists.txt
backwards compatible with cmake 2.6.  Of note, we have to ensure
the current working directory is CMAKE_BINARY_DIR before running
the cram test cases.  We can do this within add_test() with prefix
command to ccram.
Fix tests/ccram to use POSIX string equality operator

This patch updates tests/ccram to compare strings using `=`, which is
POSIX sh compliant.
Merge branch 'feature/posix-sh' into c-template

* feature/posix-sh:
  Fix tests/ccram to use POSIX string equality operator
Merge remote-tracking branch 'template/c-template' into develop

* template/c-template:
  Fix tests/ccram to use POSIX string equality operator
  Fix add_test() to work with cmake 2.6
Use renamed `cork_current_thread_get_id`

The name of the function changed on us!
Support for FreeBSD

We update the scripts to use `/bin/sh` instead of bash.  Also, a
small update to `CMakeLists.txt` is included for making debugging
a little easier.
Support the Tilera platform

This patch provides build and test script updates for the Tilera
platform.  The cmake scripts autodetect if you are configuring on a
system with a Tilera MDE installed, so you can use the normal `cmake`
command in a build directory with standard cmake options.  Note that
we turn off building the documentation on Tilera, even if Sphinx is
installed.

The major modification to our standard workflow is testing: replace
`make test` with `./tile-test`.  This assumes there is a working
connection to a Tilera device.

Installation requires sudo access, i.e., `sudo make install`. If you
intend to use these files regularly, then you should use an installation
prefix that includes `$TILERA_ROOT/tile`.  One good example is
`$TILERA_ROOT/tile/usr/local`, but you can use any directory you want
that is supported by the various `tile-monitor` upload and mount options.
Merge branch 'feature/freebsd' into c-template

* feature/freebsd:
  Support for FreeBSD
Merge remote-tracking branch 'template/c-template' into feature/tilera
Merge branch 'feature/tilera' into develop

* feature/tilera:
  Support the Tilera platform
  Support for FreeBSD
Specify network connection to tile-monitor

This patch updates the tile-test script to use a network connection
when connecting to a Tilera processor using tile-monitor.  This appears
to address the problem of slow execution and crash shepherd processes
when connecting over the (default?) serial connection.
Remove share directory

We do no install valgrind supp files for windward, so we can
remove the share directory and associated cmake script.