Commit Graph

105 Commits

Author SHA1 Message Date
Reid Spencer cceae4217f Correct build script for stkr_runtime module
llvm-svn: 18526
2004-12-05 05:18:28 +00:00
Reid Spencer d8d9fb325f Build a module instead of a library so main() is not missed
llvm-svn: 18525
2004-12-05 05:18:16 +00:00
Reid Spencer d3f2e95e6c Add LLVMbzip2 library, now required.
llvm-svn: 18255
2004-11-25 20:22:06 +00:00
Reid Spencer db7249e609 Use llvmc to compile test cases
llvm-svn: 18053
2004-11-20 21:03:34 +00:00
Reid Spencer b2d0fa0823 Fix usage of changed function prototype
llvm-svn: 17798
2004-11-14 22:30:54 +00:00
Reid Spencer a537198f2c Change macro names per naming standard in Makefile.rules.
llvm-svn: 17361
2004-10-30 09:26:22 +00:00
Reid Spencer f22aa469c9 Correct macro names per naming standard in Makefile.rules
llvm-svn: 17360
2004-10-30 09:25:27 +00:00
Reid Spencer e6b944f2f5 Disable the build in the samples directory so that llvmc dependencies don't
mess up the build.

llvm-svn: 17342
2004-10-29 18:43:49 +00:00
Reid Spencer 8b091689db Make sure the LLVM_CONFIG_DIR environment variable is set so we don't get
error messages from the compiler.

llvm-svn: 17335
2004-10-29 06:42:38 +00:00
Reid Spencer 8eb04a7713 Make sure the sources get distributed (use EXTRA_DIST)
Add the goof.st sample.

llvm-svn: 17312
2004-10-28 06:42:34 +00:00
Reid Spencer 47fcbef63e Use llvmc to compile the Stacker programs
llvm-svn: 17300
2004-10-28 04:08:05 +00:00
Reid Spencer 0ac18e0385 Add the samples directory to the build
llvm-svn: 17299
2004-10-28 04:07:54 +00:00
Reid Spencer 4bc9b0ff4a Get rid of drivel.
Ensure the lex/yacc output are specified as BUILT_SOURCES so they get
built first.

llvm-svn: 17290
2004-10-28 01:25:28 +00:00
Reid Spencer 57cbe39d1e Change Library Names Not To Conflict With Others When Installed
llvm-svn: 17286
2004-10-27 23:18:45 +00:00
Reid Spencer 7e8825fc62 Make sure the samples and test directories get distributed.
llvm-svn: 17248
2004-10-26 07:04:18 +00:00
Reid Spencer c6c87c1378 Make sure the include files get distributed.
llvm-svn: 17247
2004-10-26 07:03:39 +00:00
Reid Spencer 83e5e2801f Fix nightly build by avoiding shared library construction.
llvm-svn: 17187
2004-10-23 15:30:30 +00:00
Reid Spencer 30d8baea8d Adjust to changes in Makefile.rules
llvm-svn: 17167
2004-10-22 21:02:08 +00:00
Misha Brukman 8da107a68f Remove exhuberant-style comments which remained from copying file from `sample'
llvm-svn: 16909
2004-10-11 00:56:41 +00:00
Misha Brukman 6e200dedd7 Fix file header comment; remove sample project (extra-verbose) comments
llvm-svn: 16908
2004-10-11 00:55:47 +00:00
Misha Brukman e67286641e Fix file header comment
llvm-svn: 16907
2004-10-11 00:54:59 +00:00
Chris Lattner b0c8aab038 This pass is not needed, as there is only ever one global: the stack
llvm-svn: 16800
2004-10-07 04:10:36 +00:00
Reid Spencer d684790778 Stacker compiler library doesn't need to be shared and it can cause
problems on some platforms (like Solaris).

llvm-svn: 16365
2004-09-15 06:22:54 +00:00
Reid Spencer 90a3303af7 Attempt to solve the libtool problem on Solaris.
llvm-svn: 16364
2004-09-15 06:19:53 +00:00
Misha Brukman c1f7bb0238 The Sparc linking .so problem extends to the sample project as well
llvm-svn: 16342
2004-09-14 18:21:03 +00:00
Misha Brukman 77aedd18c7 Sparc cannot link shared objects (libtool issue) which affects Stacker.
llvm-svn: 16320
2004-09-13 22:42:54 +00:00
Reid Spencer 07e7a5ec18 Use llvm-link to link the .bc with testing.bc. This helps test the new
llvm-link dependent libraries feature.

llvm-svn: 16276
2004-09-11 04:15:09 +00:00
Reid Spencer 20f712853f Added the configuration of the test/Makefile.
llvm-svn: 16185
2004-09-05 16:42:30 +00:00
Reid Spencer 738122ce2c Make sure llvm-test doesn't build automatically so the nightly test can
finish its build phase without building and running all the tests.

llvm-svn: 16172
2004-09-04 23:07:57 +00:00
Reid Spencer 8ea6e94df9 Convert makefile to use standard LLVM macros for tool names
Utilize new stkrc -O4 option for optimization during translation.

llvm-svn: 16168
2004-09-04 20:13:54 +00:00
Reid Spencer 950d604ef9 Make Stacker into a complete project with its own configuration.
llvm-svn: 16167
2004-09-04 19:48:50 +00:00
Reid Spencer fbd716d621 Make the StackerCompiler and optimizing translator by running specific
optimizations after construction of the Module. The OptLevel argument
to the compile function controls the level of optimization.

llvm-svn: 16166
2004-09-04 19:07:32 +00:00
Reid Spencer 4771383e47 Make the Stacker compiler handle -O1 .. -O5 options so it is compliant with
the compiler driver interface as an optimizing translator. Also clean up
error message handling.

llvm-svn: 16165
2004-09-04 19:05:53 +00:00
Reid Spencer 3f4bdc96fe Uh, changing in build dir and committing in src dir doesn't lead to correct
commits. Fix it so it actually works.

llvm-svn: 16158
2004-09-03 22:28:24 +00:00
Reid Spencer 6d28a14133 Correct the specification of the DIRS variable to not include the source
directory prefix, just the name of the subdirectory. This prevents the
makefile from trying to find makefiles (like Makefile.common) in the wrong
place.

llvm-svn: 16157
2004-09-03 22:25:40 +00:00
Brian Gaeke 45fb84d68d Unbreak build
llvm-svn: 16139
2004-09-02 03:24:08 +00:00
Reid Spencer 7c16caa336 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00
Nate Begeman 50d140ee3d Must link against new LLVMsystem library
llvm-svn: 16104
2004-08-29 22:01:44 +00:00
Nate Begeman a094704ff9 RemoveFileOnSignal is now in sys:: namespace
llvm-svn: 16103
2004-08-29 22:01:17 +00:00
Reid Spencer f20d76d71e Add dependent library support for Stacker. It now inserts "stkr_runtime" as
a dependent library.

llvm-svn: 16040
2004-08-24 22:52:01 +00:00
Reid Spencer b987b7cede Moved the "SmallExamples" out of the /projects directory and into a new
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.

llvm-svn: 16002
2004-08-23 19:28:39 +00:00
Reid Spencer 06afee6ede Change the makefile back so it descends any directory with a Makefile.
llvm-svn: 15999
2004-08-23 17:47:16 +00:00
Reid Spencer 2b4b4a577a Avoid building samples. Require explicit list of directory names to build.
llvm-svn: 15937
2004-08-20 01:49:59 +00:00
Chris Lattner ab8d172df2 Make people explicitly add dirs to this. Remove ModuleMaker as it currently
does not build (it must be configured before it will work)

llvm-svn: 15936
2004-08-20 01:11:16 +00:00
Chris Lattner 40d0204067 Only build project dirs with a Makefile in them. This should fix the
problem where Depend or Debug directories prevent CVS from nuking an obsolete
project dir

llvm-svn: 15935
2004-08-20 01:07:54 +00:00
Reid Spencer 90b057bf2a Moved these files to "SmallExamples" directory.
llvm-svn: 15925
2004-08-19 20:16:42 +00:00
Reid Spencer f30f28e05f Add the fibonacci example provided by Valery Khamenya.
llvm-svn: 15924
2004-08-19 20:10:04 +00:00
Reid Spencer 7d12179af1 Make the SmallExamples programs compile in their new home.
llvm-svn: 15923
2004-08-19 20:09:14 +00:00
Chris Lattner 30411e0973 Switch to using the JIT now that it can directly call zeroarg functions
llvm-svn: 15795
2004-08-15 23:31:57 +00:00
Chris Lattner f56b692110 Simplify code, make it print the constructed module before it is run.
llvm-svn: 15792
2004-08-15 23:21:54 +00:00