Greta Yorsh
855c13cd6e
ability to restart compilation from .cmir-linear IR files
2020-10-13 15:07:13 +02:00
Nicolás Ojeda Bär
5381e13626
Fix handling of Exit_compiler exception in toplevel ( #9798 )
2020-10-05 09:46:20 +02:00
Stephen Dolan
d5af1ffb4f
Move calls to exit to main/optmain
2020-06-30 10:57:09 +01:00
Greta Yorsh
4353c7581e
Add Compenv.stop_early flag
2019-11-04 11:36:41 +00:00
Mark Shinwell
36c163248d
Remove support for compiler plugins ( #2276 )
...
After consultation on the core developers' list I am proposing this patch to remove support for compiler plugins.
The main motivations for removing compiler plugins are:
- They are a potential security risk.
- They increase the complexity of the build system and make maintenance of the Dynlink libraries more difficult (although actually, this complexity could probably be reduced after #2268 is merged).
- Many applications of plugins should be able to be expressed by building custom compiler drivers that link against compilerlibs.
* Remove compiler plugins and hooks
* Add new function Dynlink.unsafe_get_global_symbol but keep it outside the documented API.
* Remove otherlibs/dynlink/nodynlink.ml
* Update Changes
2019-03-13 11:46:37 +01:00
Gabriel Scherer
2ef45b3621
driver: consistently use _ as word separator
2019-01-04 17:56:12 +01:00
Drup
abc0b7e3ed
Add compile_common.ml which contains the basic compilation pipeline.
...
Factorize the part from compile.ml and optcompile.ml.
2018-07-27 15:07:43 +02:00
sliquister
ae1317caae
Add option to dump the output of e.g. -dlambda in a file ( #1913 )
2018-07-27 08:51:53 +01:00
Nicolás Ojeda Bär
dfd26af2c1
Remove Compenv.implicit_modules (dead code)
2018-04-11 15:27:40 +02:00
Fabrice Le Fessant
2ecd3f43e4
Fix order of arguments with -cclib XXX ( #761 )
2016-12-14 13:14:21 +00:00
Fabrice Le Fessant
f26c0ff8b6
Add plugins in the compiler
2016-07-18 17:43:05 +02:00
Marc Lasson
0fd2964dff
Use OCAMLPARAM's objects in toplevel
...
Only the non-native one (it does not support OCAMLPARAM at all atm).
2016-07-04 09:53:23 +02:00
Marc Lasson
210d7aeafa
Do not use OCAMLPARAM objects with -a and -pack
...
We add a flag 'with_ocamlparam' to the get_objfiles function.
2016-05-18 14:27:00 +02:00
Damien Doligez
5401ce8473
Update headers for the new license.
...
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Pierre Chambart
d6ea706a02
Add handling of OCAMLPARAM as a file
2016-01-25 18:45:04 +01:00
Damien Doligez
860c670848
merge branch 4.02 from 4.02.1 (rev 15540) to a few fixes after 4.02.2 (rev 16205)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-07-17 14:31:05 +00:00
Jacques Garrigue
ccce272966
commit o_and_opens.diff
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14787 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-11 00:17:05 +00:00
Fabrice Le Fessant
1823936ce0
Fix OCAMLPARAM problems
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13901 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-17 12:35:26 +00:00
Fabrice Le Fessant
2602e82995
Remove non-ASCII chars from headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13880 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-09 13:21:45 +00:00
Fabrice Le Fessant
db98eb647c
Add cmo/cma/cmx/cmxa cases to OCAMLPARAM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-11 11:46:02 +00:00
Fabrice Le Fessant
ad6c285818
Improved implementation of OCAMLPARAM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13747 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-06-05 16:34:40 +00:00