unbreak getdeps build - #160
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D78560675 |
|
|
||
| THRIFT1 := thrift1 | ||
| CABAL := $(CABAL_BIN) $(CABAL_CONFIG_FLAGS) $(GETDEPS_CABAL_FLAGS) | ||
| CABAL := $(CABAL_BIN) $(CABAL_CONFIG_FLAGS) $(GETDEPS_CABAL_FLAGS) -f-bundled-folly -f-fbthrift |
There was a problem hiding this comment.
Don't set flags here. They're supposed to be set in CABAL_CONFIG_FLAGS, which is set by the CI workflow, or cabal.project.
There was a problem hiding this comment.
Also, fbthrift should be enabled for the getdeps build
There was a problem hiding this comment.
Don't set flags here. They're supposed to be set in CABAL_CONFIG_FLAGS, which is set by the CI workflow, or cabal.project.
Cannot easily set them in the internal CI workflow, already tried that. Re cabal.project, isn't it shared with the GitHub CI workflow?
There was a problem hiding this comment.
Also, fbthrift should be enabled for the getdeps build
The fbthrift build with getdeps is broken since the folly-clib PR
There was a problem hiding this comment.
Also, fbthrift should be enabled for the getdeps build
The fbthrift build with getdeps is broken since the folly-clib PR
There was a problem hiding this comment.
Last I checked the breakage was in fbthrift itself, CI was passing on the PR when it was landed.
true, but fbthrift itself is fixed now
There was a problem hiding this comment.
The current error is cabal complaining about a leading zero in the folly-clib version number, I can put up a fix for that. https://github.com/facebookincubator/hsthrift/actions/runs/16402006410/job/46342785108
This PR won't work because the cabal CI job will fail - it needs bundled-folly to be enabled: https://github.com/facebookincubator/hsthrift/actions/runs/16374421038/job/46270656525?pr=160
Maybe it's possible for me to run the getdeps build locally, I haven't tried that yet.
There was a problem hiding this comment.
@pepeiborra what's the command to run the getdeps build? I put it on the internal wiki somewhere but I don't remember what it was exactly. There were some extra flags IIRC.
We should probably have a github CI job that does the build via getdeps, to match the internal CI job.
There was a problem hiding this comment.
getdeps.py build hsthrift --allow-system-packages --shared-libs --extra-cmake-def
ines='{"BOOST_LINK_STATIC": "OFF"}'
|
This pull request was exported from Phabricator. Differential Revision: D78560675 |
Summary: Pull Request resolved: facebookincubator#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675
763a073 to
96e05c6
Compare
| package folly-clib | ||
| flags: -bundled-folly | ||
| package thrift-tests | ||
| flags: -fbthrift |
There was a problem hiding this comment.
why is this needed? I would hope the fbthrift tests should pass, since we have fbthrift.
There was a problem hiding this comment.
cabal build fails
| @@ -0,0 +1,23 @@ | |||
| -- Copyright (c) Facebook, Inc. and its affiliates. | |||
|
|
|||
| packages: | |||
There was a problem hiding this comment.
might be able to avoid the copy/paste by using include
There was a problem hiding this comment.
leaving that for future work
|
This pull request was exported from Phabricator. Differential Revision: D78560675 |
Summary: Pull Request resolved: facebookincubator#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675
96e05c6 to
bc5f230
Compare
There was a problem hiding this comment.
We should have a default cabal.project, so that the build instructions work.
|
This pull request was exported from Phabricator. Differential Revision: D78560675 |
Summary: Pull Request resolved: facebookincubator#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675
bc5f230 to
9245b3f
Compare
Summary: Pull Request resolved: facebookincubator#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675
|
This pull request was exported from Phabricator. Differential Revision: D78560675 |
9245b3f to
4275968
Compare
|
FYI I made a CI job that builds using getdeps: simonmar@b224d79 it's not quite ready yet, but it works. |
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
|
This pull request has been merged in 76d157f. |
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: X-link: facebookincubator/hsthrift#160 Make getdeps work again Reviewed By: kbojarczuk Differential Revision: D78560675 fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Summary: Make getdeps work again
Differential Revision: D78560675