Description:
Changed the FLiT source code to be compiled each time into each test executable. Not only this, but to do a Unity Build with the FLiT source code to make it faster.
Move source and headers from src/ to src/flit/
Create new header src/flit.h for backward-compatibility
Move original flit.h file into src/flit/flit.h
Create a new source file src/flit/ALL-FLIT.cpp for a Unity Build of FLiT
Change all includes to be of the form #include <flit/...> instead of
directly #include "...".
Remove compiling and use of libflit.so
Change autogenerated Makefile for regular flit and for bisect to compile in
ALL-FLIT.cpp into every test executable.
(also get flit experimental ninja working this way)
Install the source code too with make install
Documentation:
Spell check
Remove previously obsoleted sections
Remove sections describing FLiT's compilation
Add description of how and why dynamic compiling of FLiT was done
Tests:
Added to tests/flit_install/tst_install_runthrough.py to check for newly
installed source files
Fixed all tests broken by this change
Fixed a bug when doing MPI where order of global variable initialization was
assumed (i.e., fix of C++ undefined behavior)
Fixes #210
Description: Changed the FLiT source code to be compiled each time into each test executable. Not only this, but to do a Unity Build with the FLiT source code to make it faster.
src/
tosrc/flit/
src/flit.h
for backward-compatibilityflit.h
file intosrc/flit/flit.h
src/flit/ALL-FLIT.cpp
for a Unity Build of FLiT#include <flit/...>
instead of directly#include "..."
.libflit.so
Makefile
for regular flit and for bisect to compile inALL-FLIT.cpp
into every test executable. (also getflit experimental ninja
working this way)make install
Documentation:
Tests:
tests/flit_install/tst_install_runthrough.py
to check for newly installed source files