pan3793 commented on code in PR #8235:
URL: https://github.com/apache/hadoop/pull/8235#discussion_r2777278940
##########
BUILDING.txt:
##########
@@ -29,7 +29,17 @@ This requires a recent version of docker (1.4.1 and higher
are known to work).
On Linux / Mac:
Install Docker and run this command:
- $ ./start-build-env.sh [OS platform]
+ $ [CPU_ARCH=<arch>] ./start-build-env.sh [OS platform]
+
+ - [CPU_ARCH=<arch>] One of [x86_64, amd64, aarch64, arm64].
+ Default is output of 'uname -m'. Set to 'x86_64' on arm machine
+ (e.g. Apple M1) to create an x86_64 container.
+ Note:
+ CPU arch emulation may have significant performance overhead.
Review Comment:
On Apple Silicon, Docker can leverage Rosetta2 for x86 emulation, the
performance overhead is acceptable.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]