Skip to content

Commit 737168a

Browse files
tjgqcopybara-github
authored andcommitted
Flip --experimental_inprocess_symlink_creation.
RELNOTES: Symlink trees are now created through direct filesystem calls by default, instead of delegated to a helper process. On Windows, this entails respecting the `--windows_enable_symlinks` flag, falling back to a copy when the flag is unset (the helper process always attempts to create symlinks, irrespective of the flag). Set `--noexperimental_inprocess_symlink_creation` to temporarily revert to the previous behavior, which will be removed in a future release. PiperOrigin-RevId: 671352606 Change-Id: Ie353a33bda4e7b642428bc2a77d733422a799086
1 parent 1d577ba commit 737168a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/com/google/devtools/build/lib/analysis/config/CoreOptions.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,12 +884,14 @@ public OutputPathsConverter() {
884884

885885
@Option(
886886
name = "experimental_inprocess_symlink_creation",
887-
defaultValue = "false",
887+
defaultValue = "true",
888888
converter = BooleanConverter.class,
889889
documentationCategory = OptionDocumentationCategory.EXECUTION_STRATEGY,
890890
metadataTags = OptionMetadataTag.EXPERIMENTAL,
891891
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS, OptionEffectTag.EXECUTION},
892-
help = "Whether to make direct file system calls to create symlink trees")
892+
help =
893+
"Whether to make direct filesystem calls to create symlink trees instead of delegating"
894+
+ " to a helper process.")
893895
public boolean inProcessSymlinkCreation;
894896

895897
@Option(

0 commit comments

Comments
 (0)