Commit Graph

34 Commits

Author SHA1 Message Date
Stefano Sanfilippo ef048aa324 Update the minimum version of CMake to 3.14, required for LLVM 14.
Updating the readme too, pointing to the latest LTS for testing.
2023-01-26 18:27:04 +01:00
Stefano Sanfilippo 2f91c61296 Port to LLVM 14. 2023-01-04 19:24:51 +01:00
Stefano Sanfilippo 1bdb2d64c9 Build system fixes. 2019-12-09 18:44:36 +01:00
Stefano Sanfilippo 21f27ec261 Enable C++11 and strict checks for all code, msvc compatibility. 2019-07-07 10:07:28 +02:00
Stefano Sanfilippo 7a72294426 Build a tarball with "make package". 2019-06-25 10:44:10 +02:00
Stefano Sanfilippo c4c70182a1 Improve build scripts, add MONICELLI_ARCH cache variable. 2019-06-25 10:35:02 +02:00
Stefano Sanfilippo 68dee1250d Port the build scripts to CMake 3.5, refactor them.
* Use the official LLVMConfig rather than our FindLLVM.
* Add target rule for Ragel.
* Remove useless dependencies by only compiling for the native target.
* Use target rules.
2019-06-24 11:02:46 +02:00
Stefano Sanfilippo 7f2a9a34a8 Push Monicelli 2.0 "Cofandina" 2018-09-16 14:24:27 +02:00
Stefano Sanfilippo 94dca845a5 Merge branch 'homebrew' of https://github.com/agatti/monicelli into agatti-homebrew
Conflicts:
	CMakeLists.txt
2015-03-10 15:43:55 +01:00
Stefano Sanfilippo ba5dbde1ea Build distributable packages with CPack 2015-03-10 13:32:43 +01:00
Stefano Sanfilippo c9c0e72bec Add install rules to CMake build scripts. 2015-03-10 13:31:02 +01:00
Stefano Sanfilippo 6e20935a1b Grouping source files under src/ directory. 2015-03-10 01:28:43 +01:00
Stefano Sanfilippo 4df447f23e Adding support for declaration of external modules as .mm files. 2015-03-10 00:52:51 +01:00
Stefano Sanfilippo 3ffdcf4b88 Using C for standard library, since it can't depend on lib(std)c++. 2015-03-08 22:18:21 +01:00
Stefano Sanfilippo 95d189e244 Use target_compile_options function in CMake script. 2015-03-08 22:10:34 +01:00
Stefano Sanfilippo 0531ec531a Removing unneeded dependency on LLVM JIT. 2015-03-08 21:45:06 +01:00
Stefano Sanfilippo 7a456884ae Use CMake release mode. 2015-03-08 13:27:39 +01:00
Stefano Sanfilippo b5196b1776 Replace hardcoded stdlib prototypes with a module registry. 2015-03-08 13:25:59 +01:00
Stefano Sanfilippo 83a331a9af Adding stdlib target to CMake, migrating runtime to C++. 2015-03-08 12:19:06 +01:00
Stefano Sanfilippo be60adb510 Minor cosmetic fixes (splitting lines, beautify error message). 2015-03-08 11:29:26 +01:00
Stefano Sanfilippo 3f19125574 Output object file in current directory. 2015-03-07 19:56:47 +01:00
Stefano Sanfilippo d802eddd71 Silence unused param compiler warnings because of Bison. 2015-03-07 19:44:16 +01:00
Stefano Sanfilippo becafb4cd5 Plug new bitcode generator in main. 2015-03-07 19:43:53 +01:00
Stefano Sanfilippo e921a24929 Adding -Wextra -Werror to compiler flags and fixing issues. 2015-03-07 17:24:25 +01:00
Stefano Sanfilippo 226aff325f Adding LLVM stuff to CMake build script. 2015-03-07 17:23:46 +01:00
Stefano Sanfilippo 8554bda556 Reformat CMakeLists.txt script for readability. 2015-03-05 17:35:52 +01:00
Stefano Sanfilippo 82b63189f4 Adding new features to features.cpp compiler checks. 2015-03-05 14:24:27 +01:00
Stefano Sanfilippo b0a01d2fb7 Decouple AST nodes from representation.
1. adding getters to all node properties.
2. extracting an Emitter interface.
3. moving all C++ codegen features to a CppEmitter.

All list template specializations typedefs have been removed for
increased readability.

A dependency on Boost is introduced for boost::optional,
which is required in the AST getters API.
2015-03-05 01:16:40 +01:00
Alessandro Gatti 1e6289a193 Move Homebrew support in its own file. 2015-01-16 01:32:17 +01:00
Alessandro Gatti 64fc284a52 Avoid clobbering externally-set variables. 2015-01-07 17:54:05 +01:00
Alessandro Gatti 4130129216 Automatically find homebrew packages if present. 2015-01-03 00:07:46 +01:00
Stefano Sanfilippo 715b0fe840 Compiler features discovery and Bison version check. 2014-12-10 23:03:02 +01:00
Stefano Sanfilippo 2d2fd93e2c Add parser-scanner dependency to CMake rules. 2014-12-04 21:50:15 +01:00
Stefano Sanfilippo 07bdbbe55e Switch to CMake. 2014-12-02 17:55:48 +01:00