Skip to content

Commit 884e05a

Browse files
committed
Update package build and installation instructions.
Do a few related tweaks to the package AUTHORS and TODO, too.
1 parent c828a2f commit 884e05a

File tree

3 files changed

+27
-14
lines changed

3 files changed

+27
-14
lines changed

AUTHORS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
-*- mode: Text -*-
22

3-
C-Reduce was written by Yang Chen and John Regehr at the University of Utah.
3+
C-Reduce was written by Yang Chen, Eric Eide, and John Regehr at the
4+
University of Utah.
45

56
Yang Chen <[email protected]>
7+
Eric Eide <[email protected]>
68
John Regehr <[email protected]>

INSTALL

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Prereqs:
1010
On Ubuntu, all non-standard prerequisites can be installed like this:
1111

1212
sudo apt-get install libfile-which-perl libregexp-common-perl \
13-
indent astyle delta libexporter-lite-perl
13+
indent astyle delta libexporter-lite-perl
1414

1515
On other systems, install these packages either manually or using the
1616
package manager:
@@ -29,35 +29,44 @@ Perl modules
2929
File::Which
3030
Regexp::Common
3131

32-
for example (perhaps as root):
32+
For example, (perhaps as root):
3333

3434
cpan -i 'Exporter::Lite'
3535
cpan -i 'File::Which'
3636
cpan -i 'Regexp::Common'
3737

3838
--------------------------------------------------------------------
39-
Building and installing the clang_delta plugin
39+
Building and installing C-Reduce and the clang_delta plugin
4040

4141
1. Download, build, and install the latest LLVM/Clang from their
4242
repository:
4343

4444
http://llvm.org/docs/GettingStarted.html#checkout
4545

46-
[Note: If you're having trouble with their trunk, you can use
46+
Note: If you're having trouble with their trunk, you can use
4747
LLVM/Clang 3.0 instead, but in that case you'll have to grab an older
48-
C-Reduce tagged "creduce-1.0.0".]
48+
C-Reduce tagged "creduce-1.0.0".
4949

50-
2. Build the plugin:
50+
2. Build the C-Reduce software distribution:
5151

52-
cd clang_delta
53-
export LLVM_PATH=PATH_TO_CLANG_INSTALLATION
52+
# cd to where you want to build the package, then:
53+
configure
5454
make
55-
cp clang_delta SOME_DIRECTORY_IN_PATH
55+
make install
5656

57-
Note that assertions are enabled by default. To disable assertions,
58-
build the program with:
57+
The `configure' script was generated by GNU Autoconf, and therefore
58+
accepts the usual options for naming the installation directories,
59+
choosing the compilers you want to use, and so on. `configure --help'
60+
summarizes the command-line options.
5961

60-
DISABLE_TRANS_ASSERT=1 make
62+
If LLVM/Clang is not in your search path, you can tell the `configure'
63+
script where to find LLVM/Clang:
6164

62-
--------------------------------------------------------------------
65+
# Use the LLVM/Clang tree rooted at /opt/llvm
66+
configure --with-llvm=/opt/llvm
67+
68+
Note that assertions are disabled by default. To enable assertions:
6369

70+
configure --enable-trans-assert
71+
72+
--------------------------------------------------------------------

TODO

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-*- mode: Text -*-
2+
13
--------------------------------------------------------------------
24

35
C-Reduce TODO list:

0 commit comments

Comments
 (0)