Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
pyopencl
Commits
9cf26089
Commit
9cf26089
authored
6 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Remove Travis build scripts for the time being (#269)
parent
67dd4e3e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+0
-23
0 additions, 23 deletions
.travis.yml
travis/build-wheels.sh
+0
-40
0 additions, 40 deletions
travis/build-wheels.sh
with
0 additions
and
63 deletions
.travis.yml
deleted
100644 → 0
+
0
−
23
View file @
67dd4e3e
notifications
:
email
:
false
if
:
tag IS present
matrix
:
include
:
-
sudo
:
required
services
:
-
docker
env
:
-
DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
-
sudo
:
required
services
:
-
docker
env
:
-
DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
-
PRE_CMD=linux32
install
:
-
docker pull $DOCKER_IMAGE
script
:
-
pwd
-
ls -la
-
docker run --rm -v `pwd`:/io -e TWINE_USERNAME -e TWINE_PASSWORD $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh
-
ls wheelhouse/
This diff is collapsed.
Click to expand it.
travis/build-wheels.sh
deleted
100755 → 0
+
0
−
40
View file @
67dd4e3e
#!/bin/bash
set
-e
-x
export
PYHOME
=
/home
export
CL_H
=
${
PYHOME
}
/cl_h
export
CL_ICDLOAD
=
${
PYHOME
}
/cl_icdload
cd
${
PYHOME
}
yum
install
-y
git cmake
git clone https://github.com/KhronosGroup/OpenCL-Headers.git
${
CL_H
}
git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
${
CL_ICDLOAD
}
ln
-s
${
CL_H
}
/CL /usr/include/CL
make
-C
${
CL_ICDLOAD
}
cp
-r
${
CL_ICDLOAD
}
/build/lib/lib
*
/usr/lib
# Compile wheels
for
PYBIN
in
/opt/python/
*
/bin
;
do
"
${
PYBIN
}
/pip"
install
numpy pybind11 mako
"
${
PYBIN
}
/pip"
wheel /io/
-w
wheelhouse/
done
# Bundle external shared libraries into the wheels
for
whl
in
wheelhouse/
*
.whl
;
do
auditwheel repair
"
$whl
"
-w
/io/wheelhouse/
done
/opt/python/cp37-cp37m/bin/pip
install
twine
for
WHEEL
in
/io/wheelhouse/pyopencl
*
.whl
;
do
# dev
# /opt/python/cp37-cp37m/bin/twine upload \
# --skip-existing \
# --repository-url https://test.pypi.org/legacy/ \
# -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" \
# "${WHEEL}"
# prod
/opt/python/cp37-cp37m/bin/twine upload
\
--skip-existing
\
-u
"
${
TWINE_USERNAME
}
"
-p
"
${
TWINE_PASSWORD
}
"
\
"
${
WHEEL
}
"
done
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