Skip to content

Revert GlobalConfig to use gflags again#147

Closed
kgpai wants to merge 1 commit intofacebookincubator:mainfrom
kgpai:export-D70463150
Closed

Revert GlobalConfig to use gflags again#147
kgpai wants to merge 1 commit intofacebookincubator:mainfrom
kgpai:export-D70463150

Conversation

@kgpai
Copy link
Copy Markdown

@kgpai kgpai commented Mar 2, 2025

Summary: Reverts the use of GlobalConfig and switches back to using gflags. Unfortunately using globalConfig requires us to call translateFlagsToGlobalConfig immediately after ParseCommandLineFlags to initialize it right. Because other libraries also use velox , transitively there are many such places. Thus reverting this change till we figure out a better mechanism to remove gflags dependencies.

Differential Revision: D70463150

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Meta Open Source bot. fb-exported labels Mar 2, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D70463150

@kgpai kgpai force-pushed the export-D70463150 branch from c9767a1 to 4d7ce98 Compare March 2, 2025 18:56
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D70463150

kgpai pushed a commit to kgpai/velox-1 that referenced this pull request Mar 2, 2025
Summary:
X-link: facebookincubator/nimble#147

Reverts the use of GlobalConfig and switches back to using gflags. Unfortunately using globalConfig requires us to call translateFlagsToGlobalConfig immediately after ParseCommandLineFlags to initialize it right. Because other libraries also use velox , transitively there are many such places. Thus reverting this change till we figure out a better mechanism to remove gflags dependencies.

Differential Revision: D70463150
Summary:
X-link: facebookincubator/velox#12503


Reverts the use of GlobalConfig and switches back to using gflags. Unfortunately using globalConfig requires us to call translateFlagsToGlobalConfig immediately after ParseCommandLineFlags to initialize it right. Because other libraries also use velox , transitively there are many such places. Thus reverting this change till we figure out a better mechanism to remove gflags dependencies.

Reviewed By: amitkdutta

Differential Revision: D70463150
@kgpai kgpai force-pushed the export-D70463150 branch from 4d7ce98 to 754bebc Compare March 3, 2025 04:21
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D70463150

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 5bc208f.

facebook-github-bot pushed a commit to facebookincubator/velox that referenced this pull request Mar 3, 2025
Summary:
Pull Request resolved: #12503

X-link: facebookincubator/nimble#147

Reverts the use of GlobalConfig and switches back to using gflags. Unfortunately using globalConfig requires us to call translateFlagsToGlobalConfig immediately after ParseCommandLineFlags to initialize it right. Because other libraries also use velox , transitively there are many such places. Thus reverting this change till we figure out a better mechanism to remove gflags dependencies.

Reviewed By: amitkdutta

Differential Revision: D70463150

fbshipit-source-id: 7bbd33818666c1f4235ef2e33496fa5cd8cf6a6e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants