aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ml
Commit message (Collapse)AuthorAge
* Exporting the suffixes needed to build coqlib, docdir, etc.Gravatar Hugo Herbelin2017-05-29
| | | | | | | | | This allows to centralize in the configuration file the description of the 3 possible installation layouts (dispatched over directories shared by multiple application as in unix, self-contained style like in windows, local non-installation as with option -local). Also supporting relocalisation when -prefix or -libdir and co is given.
* Using Coq_config.local rather than None to tell that Coq_config.coqlib is local.Gravatar Hugo Herbelin2017-05-29
| | | | | This goes towards an approach where a local layout can be seen as an installed layout.
* Configure: viewing compilation in -local itself as an installation layout.Gravatar Hugo Herbelin2017-05-29
| | | | | Consequence: docdir is always defined, no more "" in external preferences for manual and stdlib when using coqide in -local mode.
* Configuration: always giving a value to configdir and datadir.Gravatar Hugo Herbelin2017-05-29
| | | | | | | They were not used for looking for coqide files in the situation when the effective installation path happens to be exactly the installation path proposed by default, while relevant files were however (possibly) installed in these directories.
* More structure and more code factorization in building defaultGravatar Hugo Herbelin2017-05-29
| | | | | | | | | | | | | | installation paths in unix or win32. There are two layouts (self-contained or unix-like) and we build absolute paths from them. Under unix, there is a fully relative layout (when user gives a prefix) and a standard semi-relative layout (where most file are under /usr/local with the absolute /etc/xdg/coq as an exception). I respected the existing semantics that under cygwin, the unix layout is the default one when prefix is not given, but the self-contained layout is the default one when a prefix is given.
* Unifying the layout of installation directories.Gravatar Hugo Herbelin2017-05-29
| | | | | | | | There seems to have been several bugs, when -prefix is given: - Under win32: "" instead of "lib" (presumably introduced in ab442aed8, 2006) - Under win32: datadir, mandir, docdir should presumably be in "share", "man", "doc", as given in default - Under non-win32: coqdoc files should be in latex subdir not emacs subdir
* Unified terminology in configure.ml/coq_config.ml: arch_win32 -> arch_is_win32.Gravatar Hugo Herbelin2017-05-29
|
* Mini-renaming in configure.ml to avoid switching back and forth fromGravatar Hugo Herbelin2017-05-29
| | | | | | | | | | | | | | | | | | | | | "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
* configure: -local set coqdoc destination dir to ./doc rather than ""Gravatar Enrico Tassi2017-05-23
|
* Deprecate -nodoc.Gravatar Théo Zimmermann2017-05-20
|
* Enable more warnings, and add -warn-error configure flagGravatar Gaetan Gilbert2017-04-27
|
* [camlpX] Enrico's changes to camlp4 removal.Gravatar Emilio Jesus Gallego Arias2017-04-07
| | | | | This removes some remaining support for camlp4 in the infrastructure and documents the change.
* [camlpX] Remove camlp4 compat layer.Gravatar Emilio Jesus Gallego Arias2017-04-07
| | | | | | | | 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.
* [safe-string] Enable -safe-string !Gravatar Emilio Jesus Gallego Arias2017-03-14
| | | | | | | | | 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.
* [META] [build] Install dlls to kernel/byterunGravatar Emilio Jesus Gallego Arias2017-03-10
| | | | This makes the dll path consistent both in `-local` and non-local Coq install.
* Merge PR#399: Debug by defaultGravatar Maxime Dénès2017-02-27
|\
| * Deprecate -debug flag.Gravatar Maxime Dénès2017-02-20
| |
* | Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2017-01-19
|\ \
| * | Fix configure crash on some version strings of camlp5, e.g. "6.18-exp" (bug ↵Gravatar Guillaume Melquiond2017-01-12
| | | | | | | | | | | | #5307).
| | * Compile with debug information by default.Gravatar Maxime Dénès2017-01-09
| |/ |/| | | | | | | Addition of debug info can be prevented using -nodebug at configure time.
* | OCaml's -dtypes flag is deprecated and replaced by -annot.Gravatar Maxime Dénès2017-01-09
| |
* | Relax required OCaml to 4.02.1.Gravatar Maxime Dénès2017-01-09
| | | | | | | | | | | | 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/).
| * Fixing another inconsistency when looking for camlp5o when camlp5dir is given.Gravatar Hugo Herbelin2017-01-04
| | | | | | | | This was not fixed by b9a15a390f yet.
* | Bump required OCaml version to 4.02.3.Gravatar Maxime Dénès2016-12-19
| | | | | | | | Was decided during the working group on September, 28th.
| * Set version to 8.6 in configure.Gravatar Maxime Dénès2016-12-08
| |
| * Commit bumping the version number was partial...Gravatar Maxime Dénès2016-12-07
| | | | | | | | | | 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.
| * Set version number to 8.6rc1.Gravatar Maxime Dénès2016-12-07
| |
* | Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2016-11-18
|\|
| * Set version number to 8.6beta1.Gravatar Maxime Dénès2016-11-14
| |
* | Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2016-10-12
|\|
| * Fix git recognition when in worktrees.Gravatar Théo Zimmermann2016-10-12
| | | | | | | | | | 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.
* | Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2016-10-02
|\|
| * fix bug 3683 : adds references to the web site for the bug trackerGravatar Yves Bertot2016-09-29
| | | | | | | | in error messages
* | FIX: Coq versionGravatar Matej Kosik2016-08-25
| |
* | Merge remote-tracking branch 'v8.6' into trunkGravatar Matej Kosik2016-08-25
|\|
| * FIX: Coq versionGravatar Matej Kosik2016-08-25
| |
* | Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2016-08-17
|\|
| * Merge branch 'v8.5' into v8.6Gravatar Pierre-Marie Pédrot2016-08-16
| |\
| | * Use the "md5" command on OpenBSD (bug #5008).Gravatar Guillaume Melquiond2016-08-11
| | |
* | | No more dev/printers.cmaGravatar Pierre Letouzey2016-07-26
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'v8.5' into v8.6Gravatar Pierre-Marie Pédrot2016-07-07
|\|
| * Fix typo in configure (noticed by Jason).Gravatar Maxime Dénès2016-07-06
| |
| * Bump version number in preparation for 8.5pl2 release.Gravatar Maxime Dénès2016-07-06
| |
| * Fix indentation of configure printoutGravatar Jason Gross2016-07-06
| |
* | remove an old workaround for OCaml 3.11 + MacOS natdynlinkGravatar Pierre Letouzey2016-06-24
| |
* | Merge remote-tracking branch 'github/pr/212' into trunkGravatar Maxime Dénès2016-06-20
|\ \
* | | Fix path separator on windowsGravatar Jason Gross2016-06-18
| | |
* | | Fix the build on WindowsGravatar Jason Gross2016-06-18
| | | | | | | | | | | | This fixes bug #4828 (https://coq.inria.fr/bugs/show_bug.cgi?id=4828).
| * | Set required version of camlp5 to 6.06.Gravatar Maxime Dénès2016-06-17
|/ / | | | | | | | | It is already very old (shipped with Debian oldstable) and adds file name support in locations.
* | configure: use ln on linux and cp on windowsGravatar Enrico Tassi2016-06-14
| |