Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
3
3p-zlib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Archive
Third Party Libraries
3p-zlib
Commits
4ff662a1
Commit
4ff662a1
authored
14 years ago
by
Andrew A. de Laix
Browse files
Options
Downloads
Patches
Plain Diff
removing build.sh (for TC builds we'll rely on the default autobuild behavior)
parent
13f9b379
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
BuildParams
+0
-1
0 additions, 1 deletion
BuildParams
build.sh
+0
-65
0 additions, 65 deletions
build.sh
with
0 additions
and
66 deletions
BuildParams
deleted
100644 → 0
+
0
−
1
View file @
13f9b379
zlib-autobuild.xfoo = bar
This diff is collapsed.
Click to expand it.
build.sh
deleted
100755 → 0
+
0
−
65
View file @
13f9b379
#!/bin/sh
# turn on verbose debugging output for parabuild logs.
set
-x
if
[
-z
"
$AUTOBUILD
"
]
;
then
AUTOBUILD
=
"
$(
which autobuild
)
"
fi
ZLIB_VERSION
=
"1.2.3"
# *NOTE: temporary workaround until autobuild is installed on the build farm
autobuild_installed
()
{
local
hardcoded_rev
=
"parabuild-bootstrap"
local
bootstrap_url
=
"http://pdp47.lindenlab.com/cgi-bin/hgwebdir.cgi/brad/autobuild/archive/
$hardcoded_rev
.tar.bz2"
# hg.lindenlab.com is kind of hosed right now.
#local hardcoded_rev="c8062b08a710"
#local boostrap_url="http://hg.lindenlab.com/brad/autobuild-trunk/get/$hardcoded_rev.bz2"
if
[
-z
"
$AUTOBUILD
"
]
||
[
!
-x
"
$AUTOBUILD
"
]
;
then
echo
"failed to find executable autobuild
$AUTOBUILD
"
>
&2
echo
"fetching autobuild rev
$hardcoded_rev
from
$bootstrap_url
"
curl
"
$bootstrap_url
"
|
tar
-xj
AUTOBUILD
=
"
$(
pwd
)
/autobuild-
$hardcoded_rev
/bin/autobuild"
if
[
!
-x
"
$AUTOBUILD
"
]
;
then
echo
"failed to bootstrap autobuild!"
return
1
fi
fi
echo
"located autobuild tool: '
$AUTOBUILD
'"
}
# at this point we should know where everything is, so make errors fatal
set
-e
# this fail function will either be provided by the parabuild buildscripts or
# not exist. either way it's a fatal error
autobuild_installed
||
fail
# *HACK - bash doesn't know how to pass real pathnames to native windows python
if
[
"
$OSTYPE
"
==
'cygwin'
]
;
then
AUTOBUILD
=
"
$(
cygpath
-u
$AUTOBUILD
.cmd
)
"
fi
# load autbuild provided shell functions and variables
eval
"
$(
"
$AUTOBUILD
"
source_environment
)
"
"
$AUTOBUILD
"
build
"
$AUTOBUILD
"
package
ZLIB_INSTALLABLE_PACKAGE_FILENAME
=
"
$(
ls
-1
zlib-
$ZLIB_VERSION
-
$AUTOBUILD_PLATFORM
-
$(
date
+%Y%m%d
)
*
.tar.bz2
)
"
#"$AUTOBUILD" upload "$ZLIB_INSTALLABLE_PACKAGE_FILENAME"
upload_item installer
"
$ZLIB_INSTALLABLE_PACKAGE_FILENAME
"
binary/octet-stream
ZLIB_INSTALLABLE_PACKAGE_MD5
=
"
$(
calc_md5
"
$ZLIB_INSTALLABLE_PACKAGE_FILENAME
"
)
"
echo
"{'md5':'
$ZLIB_INSTALLABLE_PACKAGE_MD5
', 'filename':'
$ZLIB_INSTALLABLE_PACKAGE_FILENAME
'}"
>
"output.js"
upload_item installer
"output.js"
text/plain
pass
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