Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Andreas Klöckner
loopy
Commits
bf22cc27
Commit
bf22cc27
authored
10 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
More stand-alone build fixes
parent
dda86aea
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
build-helpers/make-linux-build-docker-inner.sh
+10
-17
10 additions, 17 deletions
build-helpers/make-linux-build-docker-inner.sh
build-helpers/make-linux-build-docker.sh
+2
-0
2 additions, 0 deletions
build-helpers/make-linux-build-docker.sh
with
12 additions
and
17 deletions
build-helpers/make-linux-build-docker-inner.sh
+
10
−
17
View file @
bf22cc27
...
...
@@ -6,6 +6,8 @@ set -x
mkdir
/tmp/build
cd
/tmp/build
useradd
-d
/home/user
-m
-s
/bin/bash user
yum
install
-y
git python-devel
tar
gcc gcc-c++ mercurial numpy
VENV_VERSION
=
"virtualenv-1.9.1"
...
...
@@ -13,30 +15,21 @@ rm -Rf "$VENV_VERSION"
curl
-k
https://pypi.python.org/packages/source/v/virtualenv/
$VENV_VERSION
.tar.gz |
tar
xfz -
VIRTUALENV
=
virtualenv
$VENV_VERSION
/virtualenv.py
--no-setuptools
.env
#curl -k https://bitbucket.org/pypa/setuptools/raw/bootstrap-py24/ez_setup.py | python -
curl
-k
https://ssl.tiker.net/software/ez_setup.py | python -
if
test
"
$py_version
"
=
"2.5"
;
then
# pip 1.3 is the last release with Python 2.5 support
hash
-r
which easy_install
easy_install
'pip==1.3.1'
PIP
=
"pip --insecure"
else
#curl -k https://raw.github.com/pypa/pip/1.4/contrib/get-pip.py | python -
curl http://git.tiker.net/pip/blob_plain/77f959a3ce9cc506efbf3a17290d387d0a6624f5:/contrib/get-pip.py | python -
PIP
=
"pip"
fi
$VENV_VERSION
/virtualenv.py
--system-site-packages
--no-setuptools
.env
source
.env/bin/activate
curl
-k
https://ssl.tiker.net/software/ez_setup.py | python -
curl http://git.tiker.net/pip/blob_plain/77f959a3ce9cc506efbf3a17290d387d0a6624f5:/contrib/get-pip.py | python -
pip
install
pyinstaller
git clone
--recursive
git://github.com/inducer/loopy
cd
loopy
grep
-v
pyopencl requirements.txt
>
myreq.txt
pip
install
-r
myreq.txt
python setup.py
install
chown
-R
user /tmp/build
./build-helpers/run-pyinstaller.sh
su user
-p
-c
"cd /tmp/build && source .env/bin/activate && cd loopy &&
./build-helpers/run-pyinstaller.sh
"
This diff is collapsed.
Click to expand it.
build-helpers/make-linux-build-docker.sh
+
2
−
0
View file @
bf22cc27
...
...
@@ -10,5 +10,7 @@ docker start -i $CNT
docker
cp
$CNT
:/tmp/build/loopy/dist/loopy
$(
pwd
)
||
true
mv
loopy loopy-centos6-
$(
date
+
"%Y-%m-%d"
)
docker
rm
$CNT
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