Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upincompatible_require_feature_configuration_for_pic: Require feature_configuration argument for `cc_toolchain_info.use_pic_for_dynamic_libraries`. #7007
Comments
hlopko
added
P1
team-Rules-CPP
incompatible-change
bazel 1.0
labels
Dec 28, 2018
hlopko
self-assigned this
Dec 28, 2018
This comment has been minimized.
This comment has been minimized.
CC @oquenchil |
hlopko
added
migration-ready
migration-0.22
breaking-change-0.23
labels
Jan 2, 2019
meteorcloudy
changed the title
--incompatible_require_feature_configuration_for_pic: Require feature_configuration argument for `cc_toolchain_info.use_pic_for_dynamic_libraries`.
incompatible_require_feature_configuration_for_pic: Require feature_configuration argument for `cc_toolchain_info.use_pic_for_dynamic_libraries`.
Jan 3, 2019
bazel-io
closed this
in
6c0707a
Jan 16, 2019
added a commit
to weixiao-huang/bazel
that referenced
this issue
Jan 31, 2019
dslomov
removed
the
migration-ready
label
Jan 31, 2019
This comment has been minimized.
This comment has been minimized.
I verified that this flag was flipped and thus will be included in the Bazel 0.23.0 release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hlopko commentedDec 28, 2018
•
edited
Flag: --incompatible_require_feature_configuration_for_pic
Available since: 0.22 (January 2019 release)
Will be flipped in: 0.23 (February 2019 release)
Tracking issue: #5883
Rollout doc: docs.google.com/document/d/1uv4c1zag6KvdI31qdx8C6jiTognXPQrxgsUpVefm9fM/edit#
Motivation
This is a part of larger incompatible change #6861. With removing legacy crosstool fields we need
feature_configuration
to correctly tell whether pic is required for dynamic libraries.Migration
Pass
feature_configuration
instance as an argument tocc_toolchain_info.needs_pic_for_dynamic_libraries
and use this method instead ofcc_toolchain_info.use_pic_for_dynamic_libraries
.Impact
Minimal, the method is rarely used.