Merge pull request #3766 from martin-frbg/issue3640

Add (minimal) initial support for processing with the Emscripten Javascript converter
This commit is contained in:
Martin Kroeker 2022-09-14 20:03:57 +02:00 committed by GitHub
commit dd846e72ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -387,6 +387,10 @@ typedef int blasint;
#endif
*/
#ifdef __EMSCRIPTEN__
#define YIELDING
#endif
#ifndef YIELDING
#define YIELDING sched_yield()
#endif

View File

@ -173,3 +173,8 @@ HAVE_C11
ARCH_E2K
#endif
#if defined(__EMSCRIPTEN__)
ARCH_RISCV64
OS_WINDOWS
#endif