Skip to content

Commit efb8304

Browse files
authored
flambda-backend: Build our own ocamlobjinfo from tools/objinfo/ at the root (#95)
Build our own ocamlobjinfo from tools/objinfo/ at the root
1 parent d2cfaca commit efb8304

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

tools/dune

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -145,43 +145,6 @@
145145
(section bin)
146146
(package ocaml))
147147

148-
(executable
149-
(name ocamlobjinfo_byte)
150-
(modes byte)
151-
(modules ocamlobjinfo_byte)
152-
; See note in the toplevel dune file about this.
153-
(flags (:standard -nostdlib -cclib "-L ../runtime" -cclib -lcamlrun))
154-
; For the moment, here and below, we use ocamloptcomp instead of
155-
; ocamlmiddleend, since we're always building the native compiler.
156-
; Fixing this will require having some way of modules being present in
157-
; more than one library.
158-
(libraries ocamlcommon ocamlbytecomp ocamloptcomp))
159-
160-
(rule
161-
(targets ocamlobjinfo_byte.ml)
162-
(action (copy objinfo.ml %{targets})))
163-
164-
(executable
165-
(name ocamlobjinfo_native)
166-
(modes native)
167-
(flags -nostdlib)
168-
(modules ocamlobjinfo_native)
169-
(libraries ocamlcommon ocamlbytecomp ocamloptcomp
170-
runtime_native))
171-
172-
(rule
173-
(targets ocamlobjinfo_native.ml)
174-
(action (copy objinfo.ml %{targets})))
175-
176-
(install
177-
(files
178-
(ocamlobjinfo_byte.bc as ocamlobjinfo.byte)
179-
(ocamlobjinfo_native.exe as ocamlobjinfo)
180-
(ocamlobjinfo_native.exe as ocamlobjinfo.opt)
181-
)
182-
(section bin)
183-
(package ocaml))
184-
185148
(install
186149
(files
187150
eventlog_metadata

0 commit comments

Comments
 (0)