Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
bc0a415b
Commit
bc0a415b
authored
10 years ago
by
Mikhail Glushenkov
Browse files
Options
Downloads
Patches
Plain Diff
bootstrap.sh: install profiling and shared libs.
Fixes #2009.
parent
3a6081dc
Branches
nonempty-perrors
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cabal-install/README.md
+6
-3
6 additions, 3 deletions
cabal-install/README.md
cabal-install/bootstrap.sh
+6
-2
6 additions, 2 deletions
cabal-install/bootstrap.sh
with
12 additions
and
5 deletions
cabal-install/README.md
+
6
−
3
View file @
bc0a415b
...
@@ -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,
...
...
This diff is collapsed.
Click to expand it.
cabal-install/bootstrap.sh
+
6
−
2
View file @
bc0a415b
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment