[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/RUBY PATCH 00/16] Port Ruby on Unikraft



These are the patches needed for porting Ruby on Unikraft. The summary:
- patch 01 introduces the library skeleton
- patches 02-07 build the core functionality
- patches 08-10 build the extensions
- patches 11-12 build the encodings
- patch 13 builds the unit tests (only 2 of them are enabled for now)
- patches 14-16 are needed for preparing the setup

The reviewer should start with the last patch which adds the documentation
needed for building, running and testing Ruby on Unikraft. The README should
contain all the necessary info; if anything is missing then it should be
commented during reviewing. Some of the patches just introduce files that were
generated by the Linux build and they should be reviewed really quick.

All the dependencies are already sent on the mailing list.

Andrei Gogonea (5):
  Introduce library skeleton
  ruby/config.h: Introduce generated configuration file
  ruby/config.h: Disable features unavailable in Unikraft
  core: Add generated files for core
  core: Build core functionality

Costin Lupu (11):
  core: Add thread related definitions
  patches: Limit all memory allocations to maximum 4K bytes
  extensions: Add generated files
  extensions/socket: Disable unavailable features
  extensions: Build extensions
  encodings: Add generated files
  encodings: Build extensions
  tests: Build tests
  Makefile.uk: Add rule for creating root filesystem
  Provide main() function if configured to do so
  README.md: Update with info about building and running

 .gitignore                                    |    27 +
 CODING_STYLE.md                               |     4 +
 CONTRIBUTING.md                               |     4 +
 COPYING.md                                    |    39 +
 Config.uk                                     |   145 +
 MAINTAINERS.md                                |    11 +
 Makefile.uk                                   |   631 +
 README.md                                     |    62 +
 gems-examples/Gemfile-irb                     |     8 +
 generated/enc/encinit.c                       |    88 +
 generated/enc/trans/newline.c                 |   189 +
 generated/enc/unicode/12.1.0/casefold.h       |  7428 +++
 generated/enc/unicode/12.1.0/name2ctype.h     | 41810 ++++++++++++++++
 generated/encdb.h                             |   172 +
 .../ext/-test-/arith_seq/extract/extconf.h    |     3 +
 generated/ext/-test-/array/resize/extconf.h   |     3 +
 generated/ext/-test-/bignum/extconf.h         |     4 +
 generated/ext/-test-/bug-14834/extconf.h      |     3 +
 generated/ext/-test-/bug-3571/extconf.h       |     3 +
 generated/ext/-test-/bug-5832/extconf.h       |     3 +
 generated/ext/-test-/bug_reporter/extconf.h   |     3 +
 generated/ext/-test-/class/extconf.h          |     4 +
 generated/ext/-test-/debug/extconf.h          |     4 +
 generated/ext/-test-/dln/empty/extconf.h      |     3 +
 generated/ext/-test-/exception/extconf.h      |     4 +
 generated/ext/-test-/fatal/extconf.h          |     3 +
 generated/ext/-test-/file/extconf.h           |    14 +
 generated/ext/-test-/float/extconf.h          |     4 +
 generated/ext/-test-/funcall/extconf.h        |     3 +
 .../ext/-test-/gvl/call_without_gvl/extconf.h |     3 +
 generated/ext/-test-/hash/extconf.h           |     4 +
 generated/ext/-test-/integer/extconf.h        |     4 +
 generated/ext/-test-/iseq_load/extconf.h      |     3 +
 generated/ext/-test-/iter/extconf.h           |     4 +
 generated/ext/-test-/load/dot.dot/extconf.h   |     3 +
 generated/ext/-test-/load/protect/extconf.h   |     3 +
 generated/ext/-test-/marshal/compat/extconf.h |     3 +
 .../-test-/marshal/internal_ivar/extconf.h    |     3 +
 generated/ext/-test-/marshal/usr/extconf.h    |     3 +
 generated/ext/-test-/method/extconf.h         |     4 +
 generated/ext/-test-/notimplement/extconf.h   |     3 +
 generated/ext/-test-/num2int/extconf.h        |     3 +
 generated/ext/-test-/path_to_class/extconf.h  |     4 +
 generated/ext/-test-/popen_deadlock/extconf.h |     3 +
 generated/ext/-test-/postponed_job/extconf.h  |     3 +
 generated/ext/-test-/printf/extconf.h         |     3 +
 generated/ext/-test-/proc/extconf.h           |     4 +
 generated/ext/-test-/rational/extconf.h       |     4 +
 generated/ext/-test-/recursion/extconf.h      |     3 +
 generated/ext/-test-/regexp/extconf.h         |     4 +
 generated/ext/-test-/scan_args/extconf.h      |     3 +
 generated/ext/-test-/st/foreach/extconf.h     |     3 +
 generated/ext/-test-/st/numhash/extconf.h     |     3 +
 generated/ext/-test-/st/update/extconf.h      |     3 +
 generated/ext/-test-/string/extconf.h         |     4 +
 generated/ext/-test-/struct/extconf.h         |     4 +
 generated/ext/-test-/symbol/extconf.h         |     4 +
 .../ext/-test-/thread_fd_close/extconf.h      |     3 +
 generated/ext/-test-/time/extconf.h           |     4 +
 generated/ext/-test-/tracepoint/extconf.h     |     3 +
 generated/ext/-test-/typeddata/extconf.h      |     3 +
 generated/ext/-test-/vm/extconf.h             |     3 +
 .../ext/-test-/wait_for_single_fd/extconf.h   |     5 +
 generated/ext/bigdecimal/extconf.h            |    12 +
 generated/ext/bigdecimal/util/extconf.h       |     4 +
 generated/ext/cgi/escape/extconf.h            |     4 +
 generated/ext/continuation/extconf.h          |     4 +
 generated/ext/coverage/extconf.h              |     4 +
 generated/ext/date/extconf.h                  |     5 +
 generated/ext/digest/bubblebabble/extconf.h   |     5 +
 generated/ext/digest/extconf.h                |     4 +
 generated/ext/digest/md5/extconf.h            |    10 +
 generated/ext/digest/rmd160/extconf.h         |    11 +
 generated/ext/digest/sha1/extconf.h           |    10 +
 generated/ext/digest/sha2/extconf.h           |    12 +
 generated/ext/etc/extconf.h                   |    19 +
 generated/ext/extinit.c                       |   111 +
 generated/ext/fcntl/extconf.h                 |     4 +
 generated/ext/fiber/extconf.h                 |     4 +
 generated/ext/fiddle/extconf.h                |    14 +
 generated/ext/io/console/extconf.h            |     8 +
 generated/ext/io/nonblock/extconf.h           |     4 +
 generated/ext/io/wait/extconf.h               |     6 +
 generated/ext/json/extconf.h                  |     4 +
 generated/ext/json/generator/extconf.h        |     5 +
 generated/ext/json/parser/extconf.h           |     5 +
 generated/ext/nkf/extconf.h                   |     4 +
 generated/ext/objspace/extconf.h              |     4 +
 generated/ext/openssl/extconf.h               |    46 +
 generated/ext/pathname/extconf.h              |     4 +
 generated/ext/psych/extconf.h                 |    15 +
 generated/ext/psych/psych.h                   |    17 +
 generated/ext/psych/psych_emitter.h           |     8 +
 generated/ext/psych/psych_parser.h            |     6 +
 generated/ext/psych/psych_to_ruby.h           |     8 +
 generated/ext/psych/psych_yaml_tree.h         |     8 +
 generated/ext/psych/yaml/config.h             |    10 +
 generated/ext/psych/yaml/yaml.h               |  1971 +
 generated/ext/pty/extconf.h                   |     9 +
 generated/ext/racc/cparse/extconf.h           |     5 +
 generated/ext/rbconfig/sizeof/extconf.h       |    29 +
 generated/ext/ripper/extconf.h                |     5 +
 generated/ext/rubyvm/extconf.h                |     4 +
 generated/ext/sdbm/extconf.h                  |     5 +
 generated/ext/socket/extconf.h                |   128 +
 generated/ext/stringio/extconf.h              |     4 +
 generated/ext/strscan/extconf.h               |     4 +
 generated/ext/syslog/extconf.h                |     7 +
 generated/ext/zlib/extconf.h                  |     8 +
 generated/id.c                                |   135 +
 generated/id.h                                |   252 +
 generated/insns.inc                           |   249 +
 generated/insns_info.inc                      |  9374 ++++
 generated/known_errors.inc                    |   791 +
 generated/lex.c                               |   303 +
 generated/miniprelude.c                       |     9 +
 generated/mjit_compile.inc                    |  4226 ++
 generated/mjit_config.h                       |    20 +
 generated/node_name.inc                       |   200 +
 generated/optinsn.inc                         |   128 +
 generated/parse.c                             | 17737 +++++++
 generated/parse.h                             |   211 +
 generated/prelude.c                           |   246 +
 generated/probes.dmyh                         |    80 +
 generated/probes.h                            |     1 +
 generated/revision.h                          |     0
 generated/verconf.h                           |    13 +
 generated/vm.inc                              |  4504 ++
 generated/vm_call_iseq_optimized.inc          |   213 +
 generated/vmtc.inc                            |   243 +
 include/ruby/config.h                         |   442 +
 include/stdalign.h                            |    10 +
 ...01-Set-maximum-allocation-size-to-4K.patch |    42 +
 ruby_main_example.c                           |    13 +
 thread.c                                      |    52 +
 135 files changed, 92867 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 CODING_STYLE.md
 create mode 100644 CONTRIBUTING.md
 create mode 100644 COPYING.md
 create mode 100644 Config.uk
 create mode 100644 MAINTAINERS.md
 create mode 100644 Makefile.uk
 create mode 100644 README.md
 create mode 100644 gems-examples/Gemfile-irb
 create mode 100644 generated/enc/encinit.c
 create mode 100644 generated/enc/trans/newline.c
 create mode 100644 generated/enc/unicode/12.1.0/casefold.h
 create mode 100644 generated/enc/unicode/12.1.0/name2ctype.h
 create mode 100644 generated/encdb.h
 create mode 100644 generated/ext/-test-/arith_seq/extract/extconf.h
 create mode 100644 generated/ext/-test-/array/resize/extconf.h
 create mode 100644 generated/ext/-test-/bignum/extconf.h
 create mode 100644 generated/ext/-test-/bug-14834/extconf.h
 create mode 100644 generated/ext/-test-/bug-3571/extconf.h
 create mode 100644 generated/ext/-test-/bug-5832/extconf.h
 create mode 100644 generated/ext/-test-/bug_reporter/extconf.h
 create mode 100644 generated/ext/-test-/class/extconf.h
 create mode 100644 generated/ext/-test-/debug/extconf.h
 create mode 100644 generated/ext/-test-/dln/empty/extconf.h
 create mode 100644 generated/ext/-test-/exception/extconf.h
 create mode 100644 generated/ext/-test-/fatal/extconf.h
 create mode 100644 generated/ext/-test-/file/extconf.h
 create mode 100644 generated/ext/-test-/float/extconf.h
 create mode 100644 generated/ext/-test-/funcall/extconf.h
 create mode 100644 generated/ext/-test-/gvl/call_without_gvl/extconf.h
 create mode 100644 generated/ext/-test-/hash/extconf.h
 create mode 100644 generated/ext/-test-/integer/extconf.h
 create mode 100644 generated/ext/-test-/iseq_load/extconf.h
 create mode 100644 generated/ext/-test-/iter/extconf.h
 create mode 100644 generated/ext/-test-/load/dot.dot/extconf.h
 create mode 100644 generated/ext/-test-/load/protect/extconf.h
 create mode 100644 generated/ext/-test-/marshal/compat/extconf.h
 create mode 100644 generated/ext/-test-/marshal/internal_ivar/extconf.h
 create mode 100644 generated/ext/-test-/marshal/usr/extconf.h
 create mode 100644 generated/ext/-test-/method/extconf.h
 create mode 100644 generated/ext/-test-/notimplement/extconf.h
 create mode 100644 generated/ext/-test-/num2int/extconf.h
 create mode 100644 generated/ext/-test-/path_to_class/extconf.h
 create mode 100644 generated/ext/-test-/popen_deadlock/extconf.h
 create mode 100644 generated/ext/-test-/postponed_job/extconf.h
 create mode 100644 generated/ext/-test-/printf/extconf.h
 create mode 100644 generated/ext/-test-/proc/extconf.h
 create mode 100644 generated/ext/-test-/rational/extconf.h
 create mode 100644 generated/ext/-test-/recursion/extconf.h
 create mode 100644 generated/ext/-test-/regexp/extconf.h
 create mode 100644 generated/ext/-test-/scan_args/extconf.h
 create mode 100644 generated/ext/-test-/st/foreach/extconf.h
 create mode 100644 generated/ext/-test-/st/numhash/extconf.h
 create mode 100644 generated/ext/-test-/st/update/extconf.h
 create mode 100644 generated/ext/-test-/string/extconf.h
 create mode 100644 generated/ext/-test-/struct/extconf.h
 create mode 100644 generated/ext/-test-/symbol/extconf.h
 create mode 100644 generated/ext/-test-/thread_fd_close/extconf.h
 create mode 100644 generated/ext/-test-/time/extconf.h
 create mode 100644 generated/ext/-test-/tracepoint/extconf.h
 create mode 100644 generated/ext/-test-/typeddata/extconf.h
 create mode 100644 generated/ext/-test-/vm/extconf.h
 create mode 100644 generated/ext/-test-/wait_for_single_fd/extconf.h
 create mode 100644 generated/ext/bigdecimal/extconf.h
 create mode 100644 generated/ext/bigdecimal/util/extconf.h
 create mode 100644 generated/ext/cgi/escape/extconf.h
 create mode 100644 generated/ext/continuation/extconf.h
 create mode 100644 generated/ext/coverage/extconf.h
 create mode 100644 generated/ext/date/extconf.h
 create mode 100644 generated/ext/digest/bubblebabble/extconf.h
 create mode 100644 generated/ext/digest/extconf.h
 create mode 100644 generated/ext/digest/md5/extconf.h
 create mode 100644 generated/ext/digest/rmd160/extconf.h
 create mode 100644 generated/ext/digest/sha1/extconf.h
 create mode 100644 generated/ext/digest/sha2/extconf.h
 create mode 100644 generated/ext/etc/extconf.h
 create mode 100644 generated/ext/extinit.c
 create mode 100644 generated/ext/fcntl/extconf.h
 create mode 100644 generated/ext/fiber/extconf.h
 create mode 100644 generated/ext/fiddle/extconf.h
 create mode 100644 generated/ext/io/console/extconf.h
 create mode 100644 generated/ext/io/nonblock/extconf.h
 create mode 100644 generated/ext/io/wait/extconf.h
 create mode 100644 generated/ext/json/extconf.h
 create mode 100644 generated/ext/json/generator/extconf.h
 create mode 100644 generated/ext/json/parser/extconf.h
 create mode 100644 generated/ext/nkf/extconf.h
 create mode 100644 generated/ext/objspace/extconf.h
 create mode 100644 generated/ext/openssl/extconf.h
 create mode 100644 generated/ext/pathname/extconf.h
 create mode 100644 generated/ext/psych/extconf.h
 create mode 100644 generated/ext/psych/psych.h
 create mode 100644 generated/ext/psych/psych_emitter.h
 create mode 100644 generated/ext/psych/psych_parser.h
 create mode 100644 generated/ext/psych/psych_to_ruby.h
 create mode 100644 generated/ext/psych/psych_yaml_tree.h
 create mode 100644 generated/ext/psych/yaml/config.h
 create mode 100644 generated/ext/psych/yaml/yaml.h
 create mode 100644 generated/ext/pty/extconf.h
 create mode 100644 generated/ext/racc/cparse/extconf.h
 create mode 100644 generated/ext/rbconfig/sizeof/extconf.h
 create mode 100644 generated/ext/ripper/extconf.h
 create mode 100644 generated/ext/rubyvm/extconf.h
 create mode 100644 generated/ext/sdbm/extconf.h
 create mode 100644 generated/ext/socket/extconf.h
 create mode 100644 generated/ext/stringio/extconf.h
 create mode 100644 generated/ext/strscan/extconf.h
 create mode 100644 generated/ext/syslog/extconf.h
 create mode 100644 generated/ext/zlib/extconf.h
 create mode 100644 generated/id.c
 create mode 100644 generated/id.h
 create mode 100644 generated/insns.inc
 create mode 100644 generated/insns_info.inc
 create mode 100644 generated/known_errors.inc
 create mode 100644 generated/lex.c
 create mode 100644 generated/miniprelude.c
 create mode 100644 generated/mjit_compile.inc
 create mode 100644 generated/mjit_config.h
 create mode 100644 generated/node_name.inc
 create mode 100644 generated/optinsn.inc
 create mode 100644 generated/parse.c
 create mode 100644 generated/parse.h
 create mode 100644 generated/prelude.c
 create mode 100644 generated/probes.dmyh
 create mode 100644 generated/probes.h
 create mode 100644 generated/revision.h
 create mode 100644 generated/verconf.h
 create mode 100644 generated/vm.inc
 create mode 100644 generated/vm_call_iseq_optimized.inc
 create mode 100644 generated/vmtc.inc
 create mode 100644 include/ruby/config.h
 create mode 100644 include/stdalign.h
 create mode 100644 patches/0001-Set-maximum-allocation-size-to-4K.patch
 create mode 100644 ruby_main_example.c
 create mode 100644 thread.c

-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.