Skip to content

Commit

Permalink
First attempt at #1044
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed May 1, 2016
1 parent 6135446 commit 6d62bb7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dev/buildbot/master/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,20 @@ def python_source_slave(key, platform, conda_env, cmake_args = [], cmake_env = {
factory.addStep(DirectoryUpload(slavesrc="install_root", masterdest=master_loc_rel, url="binaries", compress="bz2"))
fixPermissions(factory)
return factory

def python_manylinux_builder():
working_folder = "build/wrappers/Python/manylinux"
# Create the factory to add the actions to
factory = getBaseFactory()
# Remove the temporary folder for installs
factory.addStep(RemoveDirectory(dir="build/install_root", haltOnFailure = False))

factory.addStep(ShellCommand(command = ' '.join(['chmod',"+x","build_images.sh","&&","./build_images.sh"]),
workdir= working_folder,
haltOnFailure = True))
factory.addStep(DirectoryUpload(slavesrc="install_root", masterdest=master_loc_rel, url="binaries", compress="bz2"))
fixPermissions(factory)
return factory

# def deb_slave():
#
Expand Down Expand Up @@ -1042,6 +1056,12 @@ c['builders'].append(
factory = python_source_slave("PYPI", platform = 'OSX', conda_env = 'CoolProp27')
)
)
c['builders'].append(
BuilderConfig(name="Python-manylinux",
slavenames=["OSX-IB-slave"],
factory = python_manylinux_builder()
)
)

c['builders'].append(
BuilderConfig(name="memory sanitizer",
Expand Down

0 comments on commit 6d62bb7

Please sign in to comment.