Skip to content
Snippets Groups Projects
Commit bc0a415b authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

bootstrap.sh: install profiling and shared libs.

Fixes #2009.
parent 3a6081dc
Branches nonempty-perrors
No related tags found
No related merge requests found
...@@ -52,9 +52,12 @@ As a convenience for users on Unix-like systems, there is a ...@@ -52,9 +52,12 @@ As a convenience for users on Unix-like systems, there is a
$ ./bootstrap.sh $ ./bootstrap.sh
It will download and install the dependencies. The script will install It will download and install the dependencies. The script will install the
the library packages into `$HOME/.cabal/` and the `cabal` program into library packages (vanilla, profiling and shared) into `$HOME/.cabal/` and the
`$HOME/.cabal/bin/`. `cabal` program into `$HOME/.cabal/bin/`. If you don't want to install profiling
and shared versions of the libraries, use
$ EXTRA_CONFIGURE_OPTS="" ./bootstrap.sh
You then have the choice either to place `$HOME/.cabal/bin` on your You then have the choice either to place `$HOME/.cabal/bin` on your
`$PATH` or move the `cabal` program to somewhere on your `$PATH`. Next, `$PATH` or move the `cabal` program to somewhere on your `$PATH`. Next,
......
...@@ -6,9 +6,13 @@ ...@@ -6,9 +6,13 @@
# HTTP packages. It then installs cabal-install itself. # HTTP packages. It then installs cabal-install itself.
# It expects to be run inside the cabal-install directory. # It expects to be run inside the cabal-install directory.
# install settings, you can override these by setting environment vars # Install settings, you can override these by setting environment vars. E.g. if
# you don't want profiling and dynamic versions of libraries to be installed in
# addition to vanilla, run 'EXTRA_CONFIGURE_OPTS="" ./bootstrap.sh'
#VERBOSE #VERBOSE
#EXTRA_CONFIGURE_OPTS DEFAULT_CONFIGURE_OPTS="--enable-library-profiling --enable-shared"
EXTRA_CONFIGURE_OPTS=${EXTRA_CONFIGURE_OPTS-$DEFAULT_CONFIGURE_OPTS}
#EXTRA_BUILD_OPTS #EXTRA_BUILD_OPTS
#EXTRA_INSTALL_OPTS #EXTRA_INSTALL_OPTS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment