1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Ruby31: add support for Darwin ppc/ppc64 (#5927)

* add coroutines for ppc & ppc64

* fix universal coroutine to include ppc & ppc64

* add powerpc*-darwin to configure.ac

* fix thread_pthread for older systems
This commit is contained in:
Sergey Fedorov 2022-05-22 11:02:03 +08:00 committed by GitHub
parent 84257244cd
commit 539459abda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-05-22 12:02:28 +09:00
Merged-By: ioquatix <samuel@codeotaku.com>
8 changed files with 291 additions and 7 deletions

View file

@ -6,7 +6,11 @@
# include "coroutine/amd64/Context.h"
#elif defined __i386__
# include "coroutine/x86/Context.h"
#elif defined __ppc64__
#elif defined __ppc__
# include "coroutine/ppc/Context.h"
#elif defined __ppc64__ && defined(WORDS_BIGENDIAN)
# include "coroutine/ppc64/Context.h"
#elif defined __ppc64__ && !defined(WORDS_BIGENDIAN)
# include "coroutine/ppc64le/Context.h"
#elif defined __arm64__
# include "coroutine/arm64/Context.h"