| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Some things this did:
* added missing [] around parameters
* removed obsolte macros, replaced with currently recommended macros
* fixed some whitespace issues in macro arguments
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When running from the build directory, if one forgets to give -B, and colm was
previously installed at the current prefix, colm programs will build against
the installed version, not the local source tree. This won't be immediately
obvious and could lead to confusion during development.
To prevent this, try to find the buildDir if one is not given. The tests can
continue to specify the buildDir with -B, which is the most safe way.
The buildDir is defaulted by testing the buildDir known at compile time against
LD_LIBRARY_PATH. Libtool on ubuntu 20.04 will place the buildDir at the head of
LD_LIBRARY_PATH. It seems likely that it would do this on all systems, making
it a seemingly good test.
|
| |
|
|
|
|
|
|
| |
Let libtool take care of the linking. Prefer linking to libcolm
statically, like before. Add explicit include paths for files included
from the corresponding source directory.
|
|
|
|
|
|
|
| |
The list of linked headers comes from RUNTIME_HDR in src/Makefile.am.
Also don't delete it in clean, but do delete it in distclean, like any
file configured by config.status.
|
|
|
|
|
|
|
|
| |
This means that automake makes sure it's remade when configure{,.ac} or
version.h.in change.
Also don't delete it in clean, but do delete it in distclean, like any
file configured by config.status.
|
|
|
|
|
|
|
|
| |
This cannot work reliably when using a separate build dir.
Instead, add a new switch to specify the build directory
explicitly. Use libtool to build the output, defaulting
to statically linking libcolm.
|
|
|
|
|
|
| |
If --disable-static or --disable-shared is used, then pass this info to
compilation of main.cc and link with libcolm appropriately. Default to a static
as has been done for some time. refs adrian-thurston/ragel#70.
|
|
|
|
|
| |
If the manual is requested, then check for asciidoc and pygmentize. Fail
configuration if either are not present. refs #132
|
|
|
|
|
|
| |
In most build scenarios I now find myself in, the depenencies required for
building the manual are not available. There are many uncommon packages to
grab. It seems better to build the manual only when asked for explicitly.
|
| |
|
| |
|
|\
| |
| | |
Correct for cross-compiling
|
| |
| |
| |
| | |
Signed-off-by: Donald Hoskins <grommish@gmail.com>
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
This was left over from the time colm and ragel were in one repos. Now just use
VERSION and PUBDATE.
|
| |
|
|
|
|
|
|
|
| |
If we use fdopen for stdin/out/err we cannot close it to free the file struct
without also closing the file descriptor. If fopencookie is available, use that
to wrap the file descriptor, but allow closing without closing the fd. This is
useful when embedding in long running programs.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
cgil: Code Gen Intermediate Language
|
| |
|
|
|
|
|
| |
Split off ragel, leaving behind libfsm and the rlhc code. Intend to use both of
those components in colm.
|
|
|
|
|
| |
Containing package (colm-suite) will start at version 1. This first release
will contain colm 0.14 and ragel 7.0. refs #101
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The string class is no longer containing uints, now signed. Convert the input
strings to vectors of uint8s, since the julia code generator currently supports
only uint8.
Use numerical representation of 'a' since we have no way to separate single
lits from double lits and cast them in the julia test case translator
Don't try to construct AbstractString, use String.
Array constructor Array{Int, 1}(undef, 20) must take undef as first arg.
Verify we have julia 1.0 or later in configure script.
refs #91
|
| |
|
|
|
|
|
| |
If ulimit -a is used, javac may not run. Added a configure check to verify it
runs. refs #92
|
|
|
|
|
|
| |
The Julia language has changed enough to break our tests. Disable them for now.
refs #91
|
|
|
|
|
| |
This flag is not for production building. Bootstrapped build should always be
used.
|
| |
|
|
|
|
|
| |
Addded a configure check to see if the ASM tests are appropriate. If we can
build a basic ASM file with .rodata references, assume we can run the tests.
|
| |
|
| |
|
|
|
|
|
|
| |
Julia requires a large virtual address space and if a system limits address
space size with ulimit then julia will abort. Catch it in configure, rather
than resulting in failed tests.
|
|
|
|
|
| |
Currently disabled the test dirs that are not automake based because they do
not work with make dist.
|
|
|
|
|
| |
Packing these up in colm-suite version 1.0.1. Using a separate version number
for the contaning package.
|
|
|
|
|
|
| |
By default the package will bootstrap, but when working on the parser it is
possible to break building of colm itself. This is a major nuisance, so allow
building with an external colm, skipping the bootstrap process.
|
| |
|
|
|
|
| |
Just specifying these directly in the Makefile.am files.
|
| |
|
| |
|
| |
|