Skip to content

Make xgboost dep conditional#466

Open
jlee303 wants to merge 1 commit intofacebook:devfrom
jlee303:export-D95407296
Open

Make xgboost dep conditional#466
jlee303 wants to merge 1 commit intofacebook:devfrom
jlee303:export-D95407296

Conversation

@jlee303
Copy link
Contributor

@jlee303 jlee303 commented Mar 5, 2026

Differential Revision: D95407296

@meta-cla meta-cla bot added the cla signed label Mar 5, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 5, 2026

@jlee303 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95407296.

jlee303 added a commit to jlee303/openzl-1 that referenced this pull request Mar 5, 2026
Summary: Pull Request resolved: facebook#466

Differential Revision: D95407296
@jlee303 jlee303 force-pushed the export-D95407296 branch from 2ec4a1e to aa02119 Compare March 5, 2026 18:46
jlee303 added a commit to jlee303/openzl-1 that referenced this pull request Mar 12, 2026
Summary:

XGBoost is only needed when building zli and tests, make it a conditional dependency instead of downloading it for all targets. Downloading for all targets can cause issues when linking, repro by linking anything against libopenzl which triggers a missing xgboost warning.

Here is a sample [file](https://www.internalfb.com/phabricator/paste/view/P2220351956) I used and command for repro:

```
gcc hello_openzl.c -I ~/fbsource/fbcode/openzl/dev/include/ -L ~/fbsource/fbcode/openzl/dev/ -lopenzl -lpthread -o hello_openzl
```

Differential Revision: D95407296
jlee303 added a commit to jlee303/openzl-1 that referenced this pull request Mar 12, 2026
Summary:

XGBoost is only needed when building zli and tests, make it a conditional dependency instead of downloading it for all targets. Downloading for all targets can cause issues when linking, repro by linking anything against libopenzl which triggers a missing xgboost warning.

Here is a sample [file](https://www.internalfb.com/phabricator/paste/view/P2220351956) I used and command for repro:

```
gcc hello_openzl.c -I ~/fbsource/fbcode/openzl/dev/include/ -L ~/fbsource/fbcode/openzl/dev/ -lopenzl -lpthread -o hello_openzl
```

Differential Revision: D95407296
Summary:
Pull Request resolved: facebook#466

XGBoost is only needed when building zli and tests, make it a conditional dependency instead of downloading it for all targets. Downloading for all targets can cause issues when linking, repro by linking anything against libopenzl which triggers a missing xgboost warning.

Here is a sample [file](https://www.internalfb.com/phabricator/paste/view/P2220351956) I used and command for repro:

```
gcc hello_openzl.c -I ~/fbsource/fbcode/openzl/dev/include/ -L ~/fbsource/fbcode/openzl/dev/ -lopenzl -lpthread -o hello_openzl
```

Differential Revision: D95407296
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant