Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
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
Container 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
eic_tools
Spack
Commits
ff346938
Commit
ff346938
authored
8 years ago
by
Todd Gamblin
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1037 from KineticTheory/develop
Package serf also depends on zlib.
parents
bfedeada
883f601b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/serf/package.py
+8
-3
8 additions, 3 deletions
var/spack/repos/builtin/packages/serf/package.py
with
8 additions
and
3 deletions
var/spack/repos/builtin/packages/serf/package.py
+
8
−
3
View file @
ff346938
...
@@ -24,8 +24,10 @@
...
@@ -24,8 +24,10 @@
##############################################################################
##############################################################################
from
spack
import
*
from
spack
import
*
class
Serf
(
Package
):
class
Serf
(
Package
):
"""
Apache Serf - a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library
"""
"""
Apache Serf - a high performance C-based HTTP client library
built upon the Apache Portable Runtime (APR) library
"""
homepage
=
'
https://serf.apache.org/
'
homepage
=
'
https://serf.apache.org/
'
url
=
'
https://archive.apache.org/dist/serf/serf-1.3.8.tar.bz2
'
url
=
'
https://archive.apache.org/dist/serf/serf-1.3.8.tar.bz2
'
...
@@ -36,6 +38,7 @@ class Serf(Package):
...
@@ -36,6 +38,7 @@ class Serf(Package):
depends_on
(
'
scons
'
)
depends_on
(
'
scons
'
)
depends_on
(
'
expat
'
)
depends_on
(
'
expat
'
)
depends_on
(
'
openssl
'
)
depends_on
(
'
openssl
'
)
depends_on
(
'
zlib
'
)
def
install
(
self
,
spec
,
prefix
):
def
install
(
self
,
spec
,
prefix
):
scons
=
which
(
"
scons
"
)
scons
=
which
(
"
scons
"
)
...
@@ -44,8 +47,10 @@ def install(self, spec, prefix):
...
@@ -44,8 +47,10 @@ def install(self, spec, prefix):
options
.
append
(
'
APR=%s
'
%
spec
[
'
apr
'
].
prefix
)
options
.
append
(
'
APR=%s
'
%
spec
[
'
apr
'
].
prefix
)
options
.
append
(
'
APU=%s
'
%
spec
[
'
apr-util
'
].
prefix
)
options
.
append
(
'
APU=%s
'
%
spec
[
'
apr-util
'
].
prefix
)
options
.
append
(
'
OPENSSL=%s
'
%
spec
[
'
openssl
'
].
prefix
)
options
.
append
(
'
OPENSSL=%s
'
%
spec
[
'
openssl
'
].
prefix
)
options
.
append
(
'
LINKFLAGS=-L%s/lib
'
%
spec
[
'
expat
'
].
prefix
)
options
.
append
(
'
LINKFLAGS=-L%s/lib -L%s/lib
'
%
options
.
append
(
'
CPPFLAGS=-I%s/include
'
%
spec
[
'
expat
'
].
prefix
)
(
spec
[
'
expat
'
].
prefix
,
spec
[
'
zlib
'
].
prefix
))
options
.
append
(
'
CPPFLAGS=-I%s/include -I%s/include
'
%
(
spec
[
'
expat
'
].
prefix
,
spec
[
'
zlib
'
].
prefix
))
scons
(
*
options
)
scons
(
*
options
)
scons
(
'
install
'
)
scons
(
'
install
'
)
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