This is an archive of the discontinued LLVM Phabricator instance.

Add Darwin 13.4 x86_64 builder
ClosedPublic

Authored by chying on Feb 25 2015, 7:06 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

chying updated this revision to Diff 20726.Feb 25 2015, 7:06 PM
chying retitled this revision from to Add Darwin 13.4 x86_64 builder.
chying updated this object.
chying edited the test plan for this revision. (Show Details)
chying added reviewers: sivachandra, ovyalov, chaoren.
chying added a subscriber: Unknown Object (MLST).
chying updated this revision to Diff 20727.Feb 25 2015, 7:17 PM

Update LLDBxcodebuildFactory to handle first test failure and lldb symbol not found problem

sivachandra added inline comments.Feb 26 2015, 12:50 PM
zorg/buildbot/builders/LLDBBuilder.py
386 ↗(On Diff #20727)

haltOnFailure=True ?

409 ↗(On Diff #20727)

Isn't there an equivalent of nina/make check-lldb for Darwin?

413 ↗(On Diff #20727)

Instead of a single string setting the environment and invoking dosep, you can specify the enivorment in kwargs to LiTestCommand. So, you can remove testCmd and have something like this:

f.addStep(LitTestCommand(name='lldb-test',
                         command=[<the list with dosep command args>],
                         haltOnFailure=True,
                         workdir='%s/test' % lldb_srcdir,
                         env={'DYLD_FRAMEWORK_PATH' : WithProperties('%(lldb_bindir)s')}))

Please do test that this works.

chying updated this revision to Diff 20817.Feb 26 2015, 6:34 PM

Set haltOnFailure=True for second build, use env to export shell environment variable

sivachandra accepted this revision.Feb 27 2015, 12:57 PM
sivachandra edited edge metadata.

LGTM with a nit.

zorg/buildbot/builders/LLDBBuilder.py
408 ↗(On Diff #20817)

Ah! This should be split into multiple list elements.

This revision is now accepted and ready to land.Feb 27 2015, 12:57 PM
sivachandra added inline comments.Feb 27 2015, 3:58 PM
zorg/buildbot/builders/LLDBBuilder.py
408 ↗(On Diff #20817)

Ying explained off list that this set of options are actually form a single argument to '--options'. In which case, a more readable approach is probably:

comma=['./dosep.py',
       '--options',
       ' '.join(['-m',
                 '--executable', WithProperties('%(lldb_buildir)s/lldb'),
                 '--framework', WithProperties('%(lldb_bindir)s/LLDB.framework'),
                 '-A', 'x86_64', '-C', 'clang',
                 '-s', '../DerivedData/lldb-test-results'])]

But, I leave it up to Ying. Feel free to submit as is.

chying updated this revision to Diff 20914.Feb 27 2015, 4:41 PM
chying edited edge metadata.

Add step to clean test trace folder

This revision was automatically updated to reflect the committed changes.