ssssam commented on PR #1714:
URL: https://github.com/apache/buildstream/pull/1714#issuecomment-1206527116

   ## Bunding buildbox binaries
   
   Building the binaries is still an open task - static linking with cmake is 
not simple, see 
https://gitlab.com/BuildGrid/buildbox/buildbox-integration/-/issues/1 for 
tracking issue.
   
   A second blocker is a confusing setuptools issue. Behaviour changes 
depending whether it is called on the commandline or via the pep517 
'build_wheel' hook.
   
   Called as follows in this branch of buildstream.git:
   
        rm -Rf dist/ build/
        env BST_BUNDLE_BUILDBOX=1 python3 setup.py bdist_wheel > 
log-bdist_wheel.txt 2>&1
   
   Shows logs: 
   
   ```
   > grep subprojects log-bdist_wheel.txt 
   creating build/lib.linux-x86_64-3.10/buildstream/subprojects
   creating build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox
   copying src/buildstream/subprojects/buildbox/buildbox-casd -> 
build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox
   copying src/buildstream/subprojects/buildbox/buildbox-fuse -> 
build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox
   copying src/buildstream/subprojects/buildbox/buildbox-run -> 
build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox
   creating build/bdist.linux-x86_64/wheel/buildstream/subprojects
   creating build/bdist.linux-x86_64/wheel/buildstream/subprojects/buildbox
   copying 
build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox/buildbox-casd -> 
build/bdist.linux-x86_64/wheel/buildstream/subprojects/buildbox
   copying 
build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox/buildbox-fuse -> 
build/bdist.linux-x86_64/wheel/buildstream/subprojects/buildbox
   copying 
build/lib.linux-x86_64-3.10/buildstream/subprojects/buildbox/buildbox-run -> 
build/bdist.linux-x86_64/wheel/buildstream/subprojects/buildbox
   adding 'buildstream/subprojects/buildbox/buildbox-casd'
   adding 'buildstream/subprojects/buildbox/buildbox-fuse'
   adding 'buildstream/subprojects/buildbox/buildbox-run'
   ```
   
   Called via the [build_meta 
hook](https://setuptools.pypa.io/en/latest/build_meta.html) as done by `build` 
and `cibuildwheel`:
   
        rm -Rf dist/ build/
        env BST_BUNDLE_BUILDBOX=1 python3 -c 'import setuptools.build_meta; 
setuptools.build_meta.build_wheel(".")' > build_meta.log 2>&1
   
   Shows logs:
      
   ```
   > grep subprojects build_meta.log 
   warning: no previously-included files matching '*' found under directory 
'src/buildstream/subprojects'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to