Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Peter Sherwood
athena
Commits
d73c4865
Commit
d73c4865
authored
15 years ago
by
Sebastien Binet
Committed by
Graeme Stewart
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
PyCmt refactorization (AtlasSzip-00-01-00)
parent
2b8c3627
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
External/AtlasSzip/cmt/pkgbuild_szip.py
+38
-0
38 additions, 0 deletions
External/AtlasSzip/cmt/pkgbuild_szip.py
External/AtlasSzip/cmt/requirements
+19
-0
19 additions, 0 deletions
External/AtlasSzip/cmt/requirements
with
57 additions
and
0 deletions
External/AtlasSzip/cmt/pkgbuild_szip.py
0 → 100644
+
38
−
0
View file @
d73c4865
#
#
from
PyCmt.pkgbuild.cmmi
import
*
pkg_name
=
"
szip
"
pkg_ver
=
"
2.1
"
def
configure
(
self
):
sh
=
self
.
sh
msg
=
self
.
msg
env
=
self
.
env
orig_cflags
=
env
[
'
CFLAGS
'
]
orig_cxxflags
=
env
[
'
CXXFLAGS
'
]
# patch for macosx...
import
sys
if
sys
.
platform
==
'
darwin
'
:
env
[
'
CFLAGS
'
]
=
env
[
'
CFLAGS
'
].
replace
(
'
-g
'
,
'
'
)
env
[
'
CXXFLAGS
'
]
=
env
[
'
CXXFLAGS
'
].
replace
(
'
-g
'
,
'
'
)
msg
.
debug
(
'
configure...
'
)
sh
.
chdir
(
"
%(pkg_build_dir)s/%(pkg_name)s-%(pkg_ver)s
"
%
env
)
cmd
=
[
'
./configure
'
,
'
--prefix=%(pkg_install_dir)s
'
%
env
,
'
--disable-static
'
,
'
--enable-shared
'
,
'
--enable-encoding
'
,
'
--with-pic
'
,
]
self
.
run
(
cmd
)
if
sys
.
platform
==
'
darwin
'
:
env
[
'
CFLAGS
'
]
=
orig_cflags
env
[
'
CXXFLAGS
'
]
=
orig_cxxflags
This diff is collapsed.
Click to expand it.
External/AtlasSzip/cmt/requirements
0 → 100644
+
19
−
0
View file @
d73c4865
## Automatically generated CMT requirements file
package AtlasSzip
author Sebastien Binet <binet@cern.ch>
## For Athena policies: it has to be the first use statement
use AtlasPolicy AtlasPolicy-*
use PyCmt PyCmt-* Tools -no_auto_imports
macro_append AtlasSzip_linkopts " -lsz"
apply_pattern include_path extras=$(CMTINSTALLAREA)/$(CMTCONFIG)/include
private
apply_pattern make_pkgbuild \
name=szip \
file=pkgbuild_szip.py
end_private
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