aboutsummaryrefslogtreecommitdiff
path: root/configure.ml
AgeCommit message (Collapse)Author
2017-05-29Unified terminology in configure.ml/coq_config.ml: arch_win32 -> arch_is_win32.Hugo Herbelin
2017-05-29Mini-renaming in configure.ml to avoid switching back and forth fromHugo Herbelin
"libdir" to "COQLIBINSTALL" then "libdir", then "coqlib". For the record, here is how installation options are named at the current time in the different places they are used (if any): Name in Name in Name in Name of option Name in Name of option config/Makefile coqtop -config config/coq_config.ml in configure lib/envars.ml for coqtop/coqdep -------------------------------------------------------------------------------------------------------- COQLIBINSTALL COQLIB coqlib -libdir coqlib -coqlib DOCDIR DOCDIR docdir -docdir docdir CONFIGDIR configdir -configdir DATADIR datadir -datadir BINDIR -bindir MANDIR -mandir EMACSLIB -emacslib COQDOCDIR -coqdocdir Note: in envars.ml, docdir and coqlib are recomputed
2017-05-28Fail on deprecated warning even for Ocaml > 4.02.3Gaëtan Gilbert
Deprecations which can't be fixed in 4.02.3 are locally wrapped with [@@@ocaml.warning "-3"]. The only ones encountered are - capitalize to capitalize_ascii and variants. Changing to ascii would break coqdoc -latin1 and maybe other things though. - external "noalloc" to external [@@noalloc]
2017-05-28Don't disable deprecation warning for configure.mlGaëtan Gilbert
2017-05-23configure: -local set coqdoc destination dir to ./doc rather than ""Enrico Tassi
2017-05-20Deprecate -nodoc.Théo Zimmermann
2017-04-27Enable more warnings, and add -warn-error configure flagGaetan Gilbert
2017-04-07[camlpX] Enrico's changes to camlp4 removal.Emilio Jesus Gallego Arias
This removes some remaining support for camlp4 in the infrastructure and documents the change.
2017-04-07[camlpX] Remove camlp4 compat layer.Emilio Jesus Gallego Arias
We remove the camlp4 compatibility layer, and try to clean up most structures. `parsing/compat` is gone. We added some documentation to the lexer/parser interfaces that are often obscured by module includes.
2017-03-14[safe-string] Enable -safe-string !Emilio Jesus Gallego Arias
We now build Coq with `-safe-string`, which enforces functional use of the `string` datatype. Coq was pretty safe in these regard so only a few tweaks were needed. - coq_makefile: build plugins with -safe-string too. - `names.ml`: we remove `String.copy` uses, as they are not needed.
2017-03-10[META] [build] Install dlls to kernel/byterunEmilio Jesus Gallego Arias
This makes the dll path consistent both in `-local` and non-local Coq install.
2017-02-27Merge PR#399: Debug by defaultMaxime Dénès
2017-02-20Deprecate -debug flag.Maxime Dénès
2017-01-19Merge branch 'v8.6'Pierre-Marie Pédrot
2017-01-12Fix configure crash on some version strings of camlp5, e.g. "6.18-exp" (bug ↵Guillaume Melquiond
#5307).
2017-01-09Compile with debug information by default.Maxime Dénès
Addition of debug info can be prevented using -nodebug at configure time.
2017-01-09OCaml's -dtypes flag is deprecated and replaced by -annot.Maxime Dénès
2017-01-09Relax required OCaml to 4.02.1.Maxime Dénès
We did not decide precisely what minor version we would support, so relaxing. We document why 4.02.0 is not supported (its use is also discouraged by the OCaml team, see e.g. https://ocaml.org/releases/).
2017-01-04Fixing another inconsistency when looking for camlp5o when camlp5dir is given.Hugo Herbelin
This was not fixed by b9a15a390f yet.
2016-12-19Bump required OCaml version to 4.02.3.Maxime Dénès
Was decided during the working group on September, 28th.
2016-12-08Set version to 8.6 in configure.Maxime Dénès
2016-12-07Commit bumping the version number was partial...Maxime Dénès
The sad part of the story is that the script testing this version number is run after tagging by the coq-dev-tools Makefile... will fix that.
2016-12-07Set version number to 8.6rc1.Maxime Dénès
2016-11-18Merge branch 'v8.6'Pierre-Marie Pédrot
2016-11-14Set version number to 8.6beta1.Maxime Dénès
2016-10-12Merge branch 'v8.6'Pierre-Marie Pédrot
2016-10-12Fix git recognition when in worktrees.Théo Zimmermann
git worktrees have a .git file instead of a .git directory. Using Sys.file_exists is a more general solution which gives true in both cases.
2016-10-02Merge branch 'v8.6'Pierre-Marie Pédrot
2016-09-29fix bug 3683 : adds references to the web site for the bug trackerYves Bertot
in error messages
2016-08-25FIX: Coq versionMatej Kosik
2016-08-25Merge remote-tracking branch 'v8.6' into trunkMatej Kosik
2016-08-25FIX: Coq versionMatej Kosik
2016-08-17Merge branch 'v8.6'Pierre-Marie Pédrot
2016-08-16Merge branch 'v8.5' into v8.6Pierre-Marie Pédrot
2016-08-11Use the "md5" command on OpenBSD (bug #5008).Guillaume Melquiond
2016-07-26No more dev/printers.cmaPierre Letouzey
This file was only used during ocamldebug sessions (in the dev/db script). It was containing a large subset of the core cma files, up to the printing functions. There were a few notable exceptions, for instance no kernel/vm.cmo to avoid loading dllcoqrun.so in ocamldebug. But printers.cma was troublesome to maintain : almost each time an ML file was added/removed/renamed in the core of Coq, dev/printers.mllib had to be edited, in addition to the directory-specific .mllib (kernel/kernel.mllib and co). So I propose here to kill this file, and put instead in dev/db several "load_printer" of the core cma files. For that to work, we need to compile kernel/kernel.cma with the right -dllib and -dllpath options, but that shouldn't hurt (on the contrary). We also source now the camlpX cma in dev/db, via a new generated file dev/camlp4.dbg containing a load_printer of either gramlib.cma or camp4lib.cma. If one doesn't want to perform the whole "source db" at the start of an ocamldebug session, then the former "load_printer printers.cma" could be replaced by: source core.dbg load_printer top_printers.cmo See for instance the minimal dev/base_db.
2016-07-07Merge branch 'v8.5' into v8.6Pierre-Marie Pédrot
2016-07-06Fix typo in configure (noticed by Jason).Maxime Dénès
2016-07-06Bump version number in preparation for 8.5pl2 release.Maxime Dénès
2016-07-06Fix indentation of configure printoutJason Gross
2016-06-24remove an old workaround for OCaml 3.11 + MacOS natdynlinkPierre Letouzey
2016-06-20Merge remote-tracking branch 'github/pr/212' into trunkMaxime Dénès
2016-06-18Fix path separator on windowsJason Gross
2016-06-18Fix the build on WindowsJason Gross
This fixes bug #4828 (https://coq.inria.fr/bugs/show_bug.cgi?id=4828).
2016-06-17Set required version of camlp5 to 6.06.Maxime Dénès
It is already very old (shipped with Debian oldstable) and adds file name support in locations.
2016-06-14configure: use ln on linux and cp on windowsEnrico Tassi
2016-06-09Merge branch 'v8.5'Pierre-Marie Pédrot
2016-06-09New update on how to find camlp5 binary and library at configure time.Hugo Herbelin
Renouncing to bypass the library path given by "camlp5o -where" what we assume to be the default library location, considering that -usecamlp5dir is here to deal with the non-standard installation layout. Renouncing to find camlp5 libraries in a subdirectory of the ocaml library directory since we now know that camlp5o is found and that we have a priori to trust option -where of camlp5o. Additionally falling back on looking for camlp4 if a camlp5 library is found but no camlp5 binary. Also using camlp5o as a reference since after all this is camlp5o that we need. In particular, this fixes situations where -usecamlp5dir is given but "camlp5o -where" contradicts it. If something has to be checked on windows, please tell.
2016-06-08Officially discontinue the experimental coq build via ocamlbuildPierre Letouzey
It has been accidentaly broken since early 2014 (and especially in 8.5), no easy repair, I won't devote any more hours to this stuff. Moreover no one seems to care apart from Emilio, but he's ok to work on this in a separate repository or branch. I left a dev/doc/ocamlbuild.txt file with a few words about this experiment.
2016-05-26Update required OCaml version in configure.Maxime Dénès
Follow-up on Hugo's 1412f9f9.