|
|
DescriptionUse PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only
Previously we were using PKG_CONFIG_PATH to tell pkg-config
to search the sysroot directories. However the default
libpath is always added to this path, so pkg-config would
fall back to looking in the system directories.
Using PKG_CONFIG_LIBDIR instead overrides the default
libdir which makes the build more hermetic and forces the
sysroot to provide all the required .pc files.
Committed: https://crrev.com/4d4a9acde47d5e955c12eb0bf3feaa800c2a6f55
Cr-Commit-Position: refs/heads/master@{#369224}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : ; #
Messages
Total messages: 34 (16 generated)
sbc@chromium.org changed reviewers: + dpranke@chromium.org, thestig@chromium.org
Description was changed from ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would alwasy fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. This change depends on: https://codereview.chromium.org/1576293002 ========== to ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. This change depends on: https://codereview.chromium.org/1576293002 ==========
The CQ bit was checked by sbc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chro...) android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chro...) chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by sbc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
gentle ping..
Description was changed from ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. This change depends on: https://codereview.chromium.org/1576293002 ========== to ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. ==========
lgtm https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-... File build/config/linux/pkg-config.py (right): https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-... build/config/linux/pkg-config.py:58: # Add the sysroot path to the environment's PKG_CONFIG_LIBDIR More like overwrite than add.
The CQ bit was checked by sbc@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from thestig@chromium.org Link to the patchset: https://codereview.chromium.org/1580643002/#ps60001 (title: ";")
https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-... File build/config/linux/pkg-config.py (right): https://codereview.chromium.org/1580643002/diff/40001/build/config/linux/pkg-... build/config/linux/pkg-config.py:58: # Add the sysroot path to the environment's PKG_CONFIG_LIBDIR On 2016/01/12 23:01:50, Lei Zhang wrote: > More like overwrite than add. Done
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by sbc@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
sbc@chromium.org changed reviewers: + scottmg@chromium.org
+scottmg for build/config/OWNERS
rs lgtm
The CQ bit was checked by sbc@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580643002/60001
Message was sent while issue was closed.
Description was changed from ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. ========== to ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. ========== to ========== Use PKG_CONFIG_LIBDIR to force pkg-config to use sysroot only Previously we were using PKG_CONFIG_PATH to tell pkg-config to search the sysroot directories. However the default libpath is always added to this path, so pkg-config would fall back to looking in the system directories. Using PKG_CONFIG_LIBDIR instead overrides the default libdir which makes the build more hermetic and forces the sysroot to provide all the required .pc files. Committed: https://crrev.com/4d4a9acde47d5e955c12eb0bf3feaa800c2a6f55 Cr-Commit-Position: refs/heads/master@{#369224} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/4d4a9acde47d5e955c12eb0bf3feaa800c2a6f55 Cr-Commit-Position: refs/heads/master@{#369224}
Message was sent while issue was closed.
lgtm (belatedly) |