forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Relocatable] 10: Use RuntimeID to suffix ocamlrun
, shared runtimes and bytecode stub libraries
#165
Open
dra27
wants to merge
5
commits into
runtime-id
Choose a base branch
from
runtime-suffixing
base: runtime-id
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
dra27
force-pushed
the
runtime-suffixing
branch
from
September 25, 2024 10:54
ba5c99e
to
3d32d5c
Compare
dra27
force-pushed
the
runtime-suffixing
branch
4 times, most recently
from
September 26, 2024 19:35
c736c55
to
fcd8155
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
September 29, 2024 13:18
fcd8155
to
e163fc6
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
September 29, 2024 13:22
e163fc6
to
130a892
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
September 29, 2024 20:50
130a892
to
af14c4e
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 3, 2024 20:27
af14c4e
to
95c87a0
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 3, 2024 20:46
95c87a0
to
1a81038
Compare
dra27
force-pushed
the
runtime-suffixing
branch
2 times, most recently
from
October 4, 2024 12:41
582bfd6
to
4a77ba6
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 4, 2024 15:09
4a77ba6
to
566b3c9
Compare
dra27
force-pushed
the
runtime-suffixing
branch
2 times, most recently
from
October 5, 2024 10:36
003c7dd
to
88ce74a
Compare
dra27
force-pushed
the
runtime-suffixing
branch
2 times, most recently
from
October 7, 2024 14:24
7dfc495
to
c04f4ab
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 9, 2024 20:26
c04f4ab
to
856dac0
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 14, 2024 19:55
856dac0
to
a565af6
Compare
dra27
force-pushed
the
runtime-suffixing
branch
2 times, most recently
from
October 15, 2024 08:25
f80118e
to
0a4738b
Compare
dra27
force-pushed
the
runtime-id
branch
2 times, most recently
from
October 15, 2024 12:39
53f6817
to
55d7d8e
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 15, 2024 12:39
0a4738b
to
bb8ada2
Compare
dra27
force-pushed
the
runtime-suffixing
branch
2 times, most recently
from
October 18, 2024 15:03
e484e3f
to
0a10451
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 18, 2024 17:05
0a10451
to
7d93d62
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 18, 2024 21:45
7d93d62
to
e516408
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 19, 2024 09:01
e516408
to
c8ab437
Compare
dra27
force-pushed
the
runtime-suffixing
branch
from
October 22, 2024 13:14
c8ab437
to
8bf9a16
Compare
New names for libcamlrun_shared.so and libasmrun_shared.so without the _shared suffix and using the target triplet and runtime ID. Both ocamlc and ocamlopt explicitly recognise `-runtime-variant _shared` and select the correct name. Symbolic links for libcamlrun_shared.so and libasmrun_shared.so to allow any C programs which linked against the the output of `-output-obj` to continue to work.
ocamlc -dllib-suffixed appends the runtime's host triplet and bytecode runtime ID to the supplied name when searching for the DLL, and records the base name only in .cma / executable files. ocamlmklib -suffixed instructs ocamlmklib to use -dllib-suffixed when generating .cma files instead of -dllib. The effect is that stub libraries built this way have names which will be unique for a given configuration of OCaml and so will be ignored by other runtimes.
dra27
force-pushed
the
runtime-suffixing
branch
from
October 24, 2024 08:45
8bf9a16
to
990a27f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR sits on #164