Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
3d71c801
Commit
3d71c801
authored
14 years ago
by
Eelco Dolstra
Browse files
Options
Downloads
Patches
Plain Diff
* Use pkgconfig to locate the Boehm GC (as suggested by Ludo), if
--enable-gc is given.
parent
14fbf853
No related branches found
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
configure.ac
+7
-7
7 additions, 7 deletions
configure.ac
release.nix
+3
-3
3 additions, 3 deletions
release.nix
with
10 additions
and
10 deletions
configure.ac
+
7
−
7
View file @
3d71c801
...
...
@@ -251,17 +251,17 @@ AC_SUBST(bzip2_bin_test)
# Whether to use the Boehm garbage collector.
AC_ARG_WITH(boehm-gc, AC_HELP_STRING([--with-boehm-gc=PATH],
[prefix of the Boehm GC package to enable garbage collection in the Nix expression evaluator]),
boehmgc=$withval, boehmgc=)
if test -n "$boehmgc"; then
AC_ARG_ENABLE(gc, AC_HELP_STRING([--enable-gc],
[enable garbage collection in the Nix expression evaluator (requires Boehm GC)]),
gc=$enableval, gc=)
if test -n "$gc"; then
PKG_CHECK_MODULES([BDW_GC], [bdw-gc])
boehmgc_lib="-L$boehmgc/lib -lgc"
CXXFLAGS="
-I$boehmgc/include
$CXXFLAGS"
CXXFLAGS="
$BDW_GC_CFLAGS
$CXXFLAGS"
AC_DEFINE(HAVE_BOEHMGC, 1, [Whether to use the Boehm garbage collector.])
fi
AC_SUBST(boehmgc_lib)
AC_SUBST(boehmgc_include)
AC_ARG_ENABLE(init-state, AC_HELP_STRING([--disable-init-state],
[do not initialise DB etc. in `make install']),
...
...
This diff is collapsed.
Click to expand it.
release.nix
+
3
−
3
View file @
3d71c801
...
...
@@ -19,7 +19,7 @@ let
buildInputs
=
[
curl
bison24
flex2535
perl
libxml2
libxslt
w3m
bzip2
tetex
dblatex
nukeReferences
tetex
dblatex
nukeReferences
pkgconfig
];
configureFlags
=
''
...
...
@@ -67,12 +67,12 @@ let
name
=
"nix"
;
src
=
tarball
;
buildInputs
=
[
curl
perl
bzip2
openssl
];
buildInputs
=
[
curl
perl
bzip2
openssl
pkgconfig
boehmgc
];
configureFlags
=
''
--disable-init-state
--with-bzip2=
${
bzip2
}
--
with-boehm-gc=
${
boehmgc
}
--
enable-gc
''
;
};
...
...
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