|
|
Created:
4 years ago by justincohen Modified:
4 years ago CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionEnable hermetic builds for iOS.
BUG=669094
Committed: https://crrev.com/080de20fe53a35ec6b5ce89470261157f9389db3
Cr-Commit-Position: refs/heads/master@{#437269}
Patch Set 1 #Patch Set 2 : Enable iOS hermetic, but not for corp #
Total comments: 2
Patch Set 3 : Update should_use_hermetic_xcode.py usage #
Total comments: 4
Patch Set 4 : Address rsesek comments #
Messages
Total messages: 54 (24 generated)
The CQ bit was checked by justincohen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Enable hermetic builds for iOS. BUG= ========== to ========== Enable hermetic builds for iOS. BUG=669094 ==========
justincohen@chromium.org changed reviewers: + erikchen@chromium.org
This needs to land after https://codereview.chromium.org/2544803002/, which fixes compilation from within Xcode's hybrid project that shells out to ninja. PTAL
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
When I ssh into build422-m4 I see -isysroot /Applications/Xcode8.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk, so I guess it's not working
Patchset #3 (id:40001) has been deleted
Patchset #2 (id:20001) has been deleted
After updating infra scripts to set FORCE_MAC_TOOLCHAIN, this is now working. sshing to the bots shows: -isysroot /b/build/slave/ios-simulator/build/src/build/mac_files/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.1.sdk PTAL!
erikchen@ for reviewer kjellander@ for OWNERS ptal
justincohen@chromium.org changed reviewers: + kjellander@chromium.org
erikchen@ for reviewer kjellander@ for OWNERS ptal
lgtm (this won't affect WebRTC since we set use_system_xcode=true due to the "ld: library not found for -lc++" error, see http://crbug.com/633032)
sdefresne@chromium.org changed reviewers: + sdefresne@chromium.org
lgtm I was able to build downstream from Xcode and from command-line with this patchset.
On 2016/12/06 13:22:53, sdefresne wrote: > lgtm > > I was able to build downstream from Xcode and from command-line with this > patchset. Note that goma is unable to build when applying the patch and all files fall back to local build. Maybe worth investigating before landing this CL.
I'm able to build with goma... any more details on the failure?
erikchen: ptal, disabled the IsCorpMachine for iOS users (mac only), since hermetic may interfere with CoreSimulatorService when Xcode.app is running, which pretty much all iOS developers run.
https://codereview.chromium.org/2546613004/diff/60001/build/mac/should_use_he... File build/mac/should_use_hermetic_xcode.py (right): https://codereview.chromium.org/2546613004/diff/60001/build/mac/should_use_he... build/mac/should_use_hermetic_xcode.py:18: allow_corp = sys.argv[1] == "mac" and _IsCorpMachine() Update documentation for this script?
ptal https://codereview.chromium.org/2546613004/diff/60001/build/mac/should_use_he... File build/mac/should_use_hermetic_xcode.py (right): https://codereview.chromium.org/2546613004/diff/60001/build/mac/should_use_he... build/mac/should_use_hermetic_xcode.py:18: allow_corp = sys.argv[1] == "mac" and _IsCorpMachine() On 2016/12/06 20:07:55, erikchen wrote: > Update documentation for this script? Done.
On 2016/12/06 20:51:34, justincohen wrote: > ptal > > https://codereview.chromium.org/2546613004/diff/60001/build/mac/should_use_he... > File build/mac/should_use_hermetic_xcode.py (right): > > https://codereview.chromium.org/2546613004/diff/60001/build/mac/should_use_he... > build/mac/should_use_hermetic_xcode.py:18: allow_corp = sys.argv[1] == "mac" and > _IsCorpMachine() > On 2016/12/06 20:07:55, erikchen wrote: > > Update documentation for this script? > > Done. I was able to build with goma, except that all succeeded in state LOCAL_FALLBACK.
After out-of-band discussion, it is likely that the goma failure were unrelated. lgtm
lgtm
justincohen@chromium.org changed reviewers: + rsesek@chromium.org
rsesek@ for mac OWNERS ptal
LGTM https://codereview.chromium.org/2546613004/diff/80001/build/mac/should_use_he... File build/mac/should_use_hermetic_xcode.py (right): https://codereview.chromium.org/2546613004/diff/80001/build/mac/should_use_he... build/mac/should_use_hermetic_xcode.py:10: python should_user-hermetic_xcode.py <target_os> nit: typo here https://codereview.chromium.org/2546613004/diff/80001/build/mac/should_use_he... build/mac/should_use_hermetic_xcode.py:22: allow_corp = sys.argv[1] == "mac" and _IsCorpMachine() nit: single quotes for mac ?
https://codereview.chromium.org/2546613004/diff/80001/build/mac/should_use_he... File build/mac/should_use_hermetic_xcode.py (right): https://codereview.chromium.org/2546613004/diff/80001/build/mac/should_use_he... build/mac/should_use_hermetic_xcode.py:10: python should_user-hermetic_xcode.py <target_os> On 2016/12/07 19:55:44, Robert Sesek wrote: > nit: typo here Done. https://codereview.chromium.org/2546613004/diff/80001/build/mac/should_use_he... build/mac/should_use_hermetic_xcode.py:22: allow_corp = sys.argv[1] == "mac" and _IsCorpMachine() On 2016/12/07 19:55:44, Robert Sesek wrote: > nit: single quotes for mac ? Done.
The CQ bit was checked by justincohen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kjellander@chromium.org, rsesek@chromium.org, erikchen@chromium.org, sdefresne@chromium.org Link to the patchset: https://codereview.chromium.org/2546613004/#ps100001 (title: "Address rsesek comments")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by justincohen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by justincohen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by justincohen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by justincohen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1481212701616650, "parent_rev": "66d1179da4de670fb493684626a36757d42c7131", "commit_rev": "b1bece5c1ac233dc04ae68d8e3bb0c51fb846fe5"}
Message was sent while issue was closed.
Description was changed from ========== Enable hermetic builds for iOS. BUG=669094 ========== to ========== Enable hermetic builds for iOS. BUG=669094 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== Enable hermetic builds for iOS. BUG=669094 ========== to ========== Enable hermetic builds for iOS. BUG=669094 Committed: https://crrev.com/080de20fe53a35ec6b5ce89470261157f9389db3 Cr-Commit-Position: refs/heads/master@{#437269} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/080de20fe53a35ec6b5ce89470261157f9389db3 Cr-Commit-Position: refs/heads/master@{#437269}
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:100001) has been created in https://codereview.chromium.org/2552383006/ by justincohen@chromium.org. The reason for reverting is: IndexError: list index out of range. |