DjangoBench: Add Ubuntu 24.04 aarch64 support and fix proxygen_binding runtime errors (#550)#550
Open
marziehlenjaniMeta wants to merge 1 commit intofacebookresearch:v2-betafrom
Conversation
|
@marziehlenjaniMeta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D97857317. |
…g runtime errors (facebookresearch#550) Summary: DjangoBench fails to install and run on Ubuntu 24.04 aarch64 (Phoenix CRB). This diff fixes three issues: 1. Install fails — no Python 3.10 on Ubuntu 24.04 The install dispatcher routes all Ubuntu aarch64 installs to the Ubuntu 22.04 script, which expects python3.10 as a system package. Ubuntu 24.04 ships Python 3.12 and has no python3.10 package. Fix: Added install_django_workload_aarch64_ubuntu24.sh which builds Python 3.10 from source, skips Cinder (ARM jobs use interpreter=cpython with use_jit=0), and handles Ubuntu 24.04 package differences. Updated the dispatcher to detect Ubuntu major version ≥24 and route accordingly. 2. Runtime crash — shared libraries not found After install, run.sh fails because LD_LIBRARY_PATH doesn't include the proxygen and boost library directories. The proxygen_binding.so can't locate its dynamic dependencies (libfolly, libboost, etc.). Fix: Added proxygen/staging/lib, proxygen/proxygen/_build/deps/lib, and proxygen/proxygen/_build/deps/lib64 to LD_LIBRARY_PATH in run.sh. 3. Runtime crash — undefined symbol boost::match_results::maybe_assign proxygen_binding.cpython-310-aarch64-linux-gnu.so fails to import with an undefined boost::regex symbol. The boost_regex library is built by build_proxygen.sh (via --with-libraries=...regex...) but was never linked into the extension. Reviewed By: excelle08 Differential Revision: D97857317
ee26ccc to
e1f7ecc
Compare
meta-codesync bot
pushed a commit
that referenced
this pull request
Apr 1, 2026
…g runtime errors (#550) Summary: Pull Request resolved: #550 DjangoBench fails to install and run on Ubuntu 24.04 aarch64 (Phoenix CRB). This diff fixes three issues: 1. Install fails — no Python 3.10 on Ubuntu 24.04 The install dispatcher routes all Ubuntu aarch64 installs to the Ubuntu 22.04 script, which expects python3.10 as a system package. Ubuntu 24.04 ships Python 3.12 and has no python3.10 package. Fix: Added install_django_workload_aarch64_ubuntu24.sh which builds Python 3.10 from source, skips Cinder (ARM jobs use interpreter=cpython with use_jit=0), and handles Ubuntu 24.04 package differences. Updated the dispatcher to detect Ubuntu major version ≥24 and route accordingly. 2. Runtime crash — shared libraries not found After install, run.sh fails because LD_LIBRARY_PATH doesn't include the proxygen and boost library directories. The proxygen_binding.so can't locate its dynamic dependencies (libfolly, libboost, etc.). Fix: Added proxygen/staging/lib, proxygen/proxygen/_build/deps/lib, and proxygen/proxygen/_build/deps/lib64 to LD_LIBRARY_PATH in run.sh. 3. Runtime crash — undefined symbol boost::match_results::maybe_assign proxygen_binding.cpython-310-aarch64-linux-gnu.so fails to import with an undefined boost::regex symbol. The boost_regex library is built by build_proxygen.sh (via --with-libraries=...regex...) but was never linked into the extension. Reviewed By: excelle08 Differential Revision: D97857317 fbshipit-source-id: e2809c28ea1b48fe0a09a5530126520cff417bcc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
DjangoBench fails to install and run on Ubuntu 24.04 aarch64 (Phoenix CRB). This diff
fixes three issues:
The install dispatcher routes all Ubuntu aarch64 installs to the Ubuntu 22.04 script,
which expects python3.10 as a system package. Ubuntu 24.04 ships Python 3.12 and has
no python3.10 package.
Fix: Added install_django_workload_aarch64_ubuntu24.sh which builds Python 3.10 from
source, skips Cinder (ARM jobs use interpreter=cpython with use_jit=0), and handles
Ubuntu 24.04 package differences. Updated the dispatcher to detect Ubuntu major
version ≥24 and route accordingly.
After install, run.sh fails because LD_LIBRARY_PATH doesn't include the proxygen and
boost library directories. The proxygen_binding.so can't locate its dynamic
dependencies (libfolly, libboost, etc.).
Fix: Added proxygen/staging/lib, proxygen/proxygen/_build/deps/lib, and
proxygen/proxygen/_build/deps/lib64 to LD_LIBRARY_PATH in run.sh.
proxygen_binding.cpython-310-aarch64-linux-gnu.so fails to import with an undefined
boost::regex symbol. The boost_regex library is built by build_proxygen.sh (via
--with-libraries=...regex...) but was never linked into the extension.
Reviewed By: excelle08
Differential Revision: D97857317