-
Notifications
You must be signed in to change notification settings - Fork 94
Build on riscv64 #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Build on riscv64 #160
Changes from 6 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ef5146e
dav1d: build on riscv64
samuelmarinsoto 98320df
libffi: build on riscv64
samuelmarinsoto 5849f48
linux-headers: build on riscv64
samuelmarinsoto b1be0a4
musl: build on riscv64
samuelmarinsoto 2e5df2d
pcre: build on riscv64
samuelmarinsoto 10ed139
Merge branch 'master' into riscv64
samuelmarinsoto 055b011
Merge branch 'master' into riscv64
samuelmarinsoto 2ca50cd
linux-headers: build on riscv64
samuelmarinsoto 6bb70b4
dav1d: centralize config.h
samuelmarinsoto 54ae2df
musl: fix typo in archfile
samuelmarinsoto f29f119
pcre: centralize config.h
samuelmarinsoto 3b63de8
strace: build on riscv64
samuelmarinsoto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #define ARCH_AARCH64 0 | ||
| #define ARCH_ARM 0 | ||
| #define ARCH_PPC64LE 0 | ||
| #define ARCH_X86 0 | ||
| #define ARCH_X86_32 0 | ||
| #define ARCH_X86_64 0 | ||
| #define CONFIG_16BPC 1 | ||
| #define CONFIG_8BPC 1 | ||
| #define CONFIG_LOG 1 | ||
| #define ENDIANNESS_BIG 0 | ||
| #define HAVE_ASM 1 | ||
| #define HAVE_AVX512ICL 1 | ||
| #define HAVE_CLOCK_GETTIME 1 | ||
| #define HAVE_DLSYM 1 | ||
| #define HAVE_POSIX_MEMALIGN 1 | ||
| #define HAVE_UNISTD_H 1 | ||
| #define STACK_ALIGNMENT 32 | ||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| return { | ||
| -- <cd src/arch/riscv/include/uapi && find * -name '*.h' -exec printf "\t'%s',\n" {} + | LC_COLLATE=C sort | ||
| 'asm/auxvec.h', | ||
| 'asm/bitsperlong.h', | ||
| 'asm/bpf_perf_event.h', | ||
| 'asm/byteorder.h', | ||
| 'asm/elf.h', | ||
| 'asm/hwcap.h', | ||
| 'asm/hwprobe.h', | ||
| 'asm/kvm.h', | ||
| 'asm/perf_regs.h', | ||
| 'asm/ptrace.h', | ||
| 'asm/setup.h', | ||
| 'asm/sigcontext.h', | ||
| 'asm/ucontext.h', | ||
| 'asm/unistd.h', | ||
| 'asm/vendor/mips.h', | ||
| 'asm/vendor/sifive.h', | ||
| 'asm/vendor/thead.h', | ||
| unistd = {}, | ||
|
michaelforney marked this conversation as resolved.
Outdated
|
||
| generic={ | ||
| -- <awk '$1 == "generic-y" {printf "\\t\\t'\'%s\'',\\n", $3}' src/arch/riscv/include/uapi/asm/Kbuild | ||
| 'kvm_para.h', | ||
|
michaelforney marked this conversation as resolved.
Outdated
|
||
| }, | ||
| } | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| return { | ||
| srcs={ | ||
| -- <cd src && printf "\t\t'%s',\n" src/*/riscv64/*.[csS] | ||
| 'src/fenv/riscv64/fenv-sf.c', | ||
| 'src/fenv/riscv64/fenv.S', | ||
| 'src/ldso/riscv64/dlsym.s', | ||
| 'src/ldso/riscv64/tlsdesc.s', | ||
| 'src/math/riscv64/copysign.c', | ||
| 'src/math/riscv64/copysignf.c', | ||
| 'src/math/riscv64/fabs.c', | ||
| 'src/math/riscv64/fabsf.c', | ||
| 'src/math/riscv64/fma.c', | ||
| 'src/math/riscv64/fmaf.c', | ||
| 'src/math/riscv64/fmax.c', | ||
| 'src/math/riscv64/fmaxf.c', | ||
| 'src/math/riscv64/fmin.c', | ||
| 'src/math/riscv64/fminf.c', | ||
| 'src/math/riscv64/sqrt.c', | ||
| 'src/math/riscv64/sqrtf.c', | ||
| 'src/process/riscv64/vfork.s', | ||
| 'src/setjmp/riscv64/longjmp.S', | ||
| 'src/setjmp/riscv64/setjmp.S', | ||
| 'src/signal/riscv64/restore.s', | ||
| 'src/signal/riscv64/sigsetjmp.s', | ||
| 'src/thread/riscv64/__set_thread_area.s', | ||
| 'src/thread/riscv64/__unmapself.s', | ||
| 'src/thread/riscv64/clone.s', | ||
| 'src/thread/riscv64/syscall_cp.s', | ||
| }, | ||
| bits={ | ||
| -- <cd src/arch/riscv/bits && printf "\t\t'%s',\n" *.h | ||
|
michaelforney marked this conversation as resolved.
Outdated
|
||
| 'fenv.h', | ||
| 'float.h', | ||
| 'setjmp.h', | ||
| 'signal.h', | ||
| 'user.h', | ||
| }, | ||
| } | ||
|
|
||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| /* #undef BSR_ANYCRLF */ | ||
| /* #undef EBCDIC */ | ||
| /* #undef EBCDIC_NL25 */ | ||
| #define HAVE_BCOPY 1 | ||
| /* #undef HAVE_BITS_TYPE_TRAITS_H */ | ||
| /* #undef HAVE_BZLIB_H */ | ||
| #define HAVE_DIRENT_H 1 | ||
| #define HAVE_DLFCN_H 1 | ||
| /* #undef HAVE_EDITLINE_READLINE_H */ | ||
| /* #undef HAVE_EDIT_READLINE_READLINE_H */ | ||
| #define HAVE_INTTYPES_H 1 | ||
| #define HAVE_LIMITS_H 1 | ||
| /* #undef HAVE_LONG_LONG */ | ||
| #define HAVE_MEMMOVE 1 | ||
| #define HAVE_PTHREAD 1 | ||
| #define HAVE_PTHREAD_PRIO_INHERIT 1 | ||
| /* #undef HAVE_READLINE_HISTORY_H */ | ||
| /* #undef HAVE_READLINE_READLINE_H */ | ||
| #define HAVE_STDINT_H 1 | ||
| #define HAVE_STDIO_H 1 | ||
| #define HAVE_STDLIB_H 1 | ||
| #define HAVE_STRERROR 1 | ||
| /* #undef HAVE_STRING */ | ||
| #define HAVE_STRINGS_H 1 | ||
| #define HAVE_STRING_H 1 | ||
| /* #undef HAVE_STRTOIMAX */ | ||
| /* #undef HAVE_STRTOLL */ | ||
| /* #undef HAVE_STRTOQ */ | ||
| #define HAVE_SYS_STAT_H 1 | ||
| #define HAVE_SYS_TYPES_H 1 | ||
| /* #undef HAVE_TYPE_TRAITS_H */ | ||
| #define HAVE_UNISTD_H 1 | ||
| /* #undef HAVE_UNSIGNED_LONG_LONG */ | ||
| #define HAVE_VISIBILITY 1 | ||
| /* #undef HAVE_WINDOWS_H */ | ||
| /* #undef HAVE_ZLIB_H */ | ||
| /* #undef HAVE__STRTOI64 */ | ||
| #define LINK_SIZE 2 | ||
| #define LT_OBJDIR ".libs/" | ||
| #define MATCH_LIMIT 10000000 | ||
| #define MATCH_LIMIT_RECURSION MATCH_LIMIT | ||
| #define MAX_NAME_COUNT 10000 | ||
| #define MAX_NAME_SIZE 32 | ||
| #define NEWLINE 10 | ||
| /* #undef NO_RECURSE */ | ||
| #define PACKAGE "pcre" | ||
| #define PACKAGE_BUGREPORT "" | ||
| #define PACKAGE_NAME "PCRE" | ||
| #define PACKAGE_STRING "PCRE 8.45" | ||
| #define PACKAGE_TARNAME "pcre" | ||
| #define PACKAGE_URL "" | ||
| #define PACKAGE_VERSION "8.45" | ||
| #define PARENS_NEST_LIMIT 250 | ||
| #define PCRECPP_EXP_DECL extern __attribute__ ((visibility ("default"))) | ||
| #define PCRECPP_EXP_DEFN __attribute__ ((visibility ("default"))) | ||
| #define PCREGREP_BUFSIZE 20480 | ||
| #define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility ("default"))) | ||
| #define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility ("default"))) | ||
| #define PCRE_EXP_DATA_DEFN __attribute__ ((visibility ("default"))) | ||
| #define PCRE_EXP_DECL extern __attribute__ ((visibility ("default"))) | ||
| #define PCRE_EXP_DEFN __attribute__ ((visibility ("default"))) | ||
| #define PCRE_STATIC 1 | ||
| #define POSIX_MALLOC_THRESHOLD 10 | ||
| /* #undef PTHREAD_CREATE_JOINABLE */ | ||
| #define STDC_HEADERS 1 | ||
| #ifdef __GNUC__ | ||
| // #define SUPPORT_JIT /**/ unsupported on riscv | ||
| #endif | ||
| /* #undef SUPPORT_LIBBZ2 */ | ||
| /* #undef SUPPORT_LIBEDIT */ | ||
| /* #undef SUPPORT_LIBREADLINE */ | ||
| /* #undef SUPPORT_LIBZ */ | ||
| /* #undef SUPPORT_PCRE16 */ | ||
| /* #undef SUPPORT_PCRE32 */ | ||
| #define SUPPORT_PCRE8 /**/ | ||
| // #define SUPPORT_PCREGREP_JIT /**/ unsupported on riscv | ||
|
michaelforney marked this conversation as resolved.
Outdated
|
||
| #define SUPPORT_UCP /**/ | ||
| #define SUPPORT_UTF /**/ | ||
| /* #undef SUPPORT_VALGRIND */ | ||
| #define VERSION "8.45" | ||
| /* #undef const */ | ||
| /* #undef int64_t */ | ||
| /* #undef size_t */ | ||
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.
Uh oh!
There was an error while loading. Please reload this page.