-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flambda-backend: Install runtime events for runtime5 (#2106)
- Loading branch information
Showing
23 changed files
with
122 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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,47 @@ | ||
;************************************************************************** | ||
;* * | ||
;* OCaml * | ||
;* * | ||
;* Zesen Qian, Jane Street Europe * | ||
;* * | ||
;* Copyright 2023 Jane Street Group LLC * | ||
;* * | ||
;* All rights reserved. This file is distributed under the terms of * | ||
;* the GNU Lesser General Public License version 2.1, with the * | ||
;* special exception on linking described in the file LICENSE. * | ||
;* * | ||
;************************************************************************** | ||
|
||
(library | ||
(name runtime_events) | ||
(wrapped false) | ||
(modes byte native) | ||
(flags ( | ||
-strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48-66 | ||
-warn-error A -bin-annot -safe-string -strict-formats | ||
)) | ||
(ocamlopt_flags (:include %{project_root}/ocamlopt_flags.sexp)) | ||
(library_flags (:standard -linkall)) | ||
(foreign_stubs (language c) (names runtime_events_consumer) | ||
(flags ((:include %{project_root}/oc_cflags.sexp) | ||
(:include %{project_root}/sharedlib_cflags.sexp) | ||
(:include %{project_root}/oc_cppflags.sexp))))) | ||
|
||
(install | ||
(files | ||
(.runtime_events.objs/native/runtime_events.cmx as runtime_events/runtime_events.cmx) | ||
(libruntime_events_stubs.a as runtime_events/libruntime_events_stubs.a) | ||
(libruntime_events_stubs.a as libruntime_events_stubs_native.a) ; for special_dune compat | ||
(dllruntime_events_stubs.so as stublibs/dllruntime_events_stubs.so) | ||
(runtime_events.cmxa as runtime_events/runtime_events.cmxa) | ||
(runtime_events.a as runtime_events/runtime_events.a) | ||
(runtime_events.cmxs as runtime_events/runtime_events.cmxs) | ||
(runtime_events.cma as runtime_events/runtime_events.cma) | ||
(runtime_events.mli as runtime_events/runtime_events.mli) | ||
(.runtime_events.objs/byte/runtime_events.cmi as runtime_events/runtime_events.cmi) | ||
(.runtime_events.objs/byte/runtime_events.cmt as runtime_events/runtime_events.cmt) | ||
(.runtime_events.objs/byte/runtime_events.cmti as runtime_events/runtime_events.cmti) | ||
(runtime_events_consumer.h as runtime_events_consumer.h) | ||
) | ||
(section lib) | ||
(package ocaml)) |
This file contains 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 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 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 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 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 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 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 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 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 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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
(* TEST | ||
* runtime4 | ||
** skip | ||
* runtime5 | ||
include runtime_events; | ||
*) | ||
open Runtime_events | ||
|
This file contains 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 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 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 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 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 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 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 |
---|---|---|
@@ -1 +1 @@ | ||
lost_event_words: 0, total_sizes: 2000004, total_minors: 31 | ||
lost_event_words: 0, total_sizes: 2000004, total_minors: 15 |
This file contains 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
5 changes: 3 additions & 2 deletions
5
testsuite/tests/lib-runtime-events/test_user_event_unknown.ml
This file contains 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