Skip to content

Commit c1f35ad

Browse files
authored
Remove force-instrumented-runtime configure option (ocaml#11660)
1 parent 6d68843 commit c1f35ad

File tree

7 files changed

+1
-40
lines changed

7 files changed

+1
-40
lines changed

Makefile.config.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ TARGET=@target@
235235
HOST=@host@
236236
FLAMBDA=@flambda@
237237
WITH_FLAMBDA_INVARIANTS=@flambda_invariants@
238-
FORCE_INSTRUMENTED_RUNTIME=@force_instrumented_runtime@
239238
WITH_CMM_INVARIANTS=@cmm_invariants@
240239
FORCE_SAFE_STRING=true
241240
DEFAULT_SAFE_STRING=true

configure

Lines changed: 0 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ toolchain="cc"
6464
profinfo=false
6565
profinfo_width=0
6666
instrumented_runtime=false
67-
force_instrumented_runtime=false
6867
instrumented_runtime_libs=""
6968
bootstrapping_flexdll=false
7069
flexdll_dir=
@@ -212,7 +211,6 @@ AC_SUBST([mkexe_ldflags_exp])
212211
AC_SUBST([PACKLD])
213212
AC_SUBST([stdlib_manpages])
214213
AC_SUBST([compute_deps])
215-
AC_SUBST([force_instrumented_runtime])
216214
AC_SUBST([ocaml_bindir])
217215
AC_SUBST([ocaml_libdir])
218216
AC_SUBST([QS])
@@ -417,10 +415,6 @@ AC_ARG_ENABLE([flambda-invariants],
417415
[AS_HELP_STRING([--enable-flambda-invariants],
418416
[enable invariants checks in flambda])])
419417

420-
AC_ARG_ENABLE([force-instrumented-runtime],
421-
[AS_HELP_STRING([--force-instrumented-runtime],
422-
[force the usage of the instrumented runtime])])
423-
424418
AC_ARG_ENABLE([cmm-invariants],
425419
[AS_HELP_STRING([--enable-cmm-invariants],
426420
[enable invariants checks in Cmm])])
@@ -1503,10 +1497,6 @@ AS_CASE([$host],
15031497
]
15041498
)
15051499

1506-
AS_IF([test "x$enable_force_instrumented_runtime" = "xyes"],
1507-
[force_instrumented_runtime=true]
1508-
)
1509-
15101500
# The instrumented runtime is built by default
15111501
# if the proper clock source is found.
15121502
# If asked via --enable-instrumented-runtime, configuration fails if the proper

utils/clflags.ml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,7 @@ let pic_code = ref (match Config.architecture with (* -fPIC *)
166166
| "amd64" -> true
167167
| _ -> false)
168168

169-
let runtime_variant =
170-
ref (match Config.force_instrumented_runtime with (* -runtime-variant *)
171-
| true -> "i"
172-
| false -> "")
169+
let runtime_variant = ref ""
173170

174171
let with_runtime = ref true (* -with-runtime *)
175172

utils/config.fixed.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ let flambda = false
4747
let with_flambda_invariants = false
4848
let with_cmm_invariants = false
4949
let windows_unicode = false
50-
let force_instrumented_runtime = false
5150
let flat_float_array = true
5251
let function_sections = false
5352
let afl_instrument = false

utils/config.generated.ml.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ let flambda = @flambda@
7878
let with_flambda_invariants = @flambda_invariants@
7979
let with_cmm_invariants = @cmm_invariants@
8080
let windows_unicode = @windows_unicode@ != 0
81-
let force_instrumented_runtime = @force_instrumented_runtime@
8281

8382
let flat_float_array = @flat_float_array@
8483

utils/config.mli

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ val supports_shared_libraries: bool
239239
240240
@since 4.08 *)
241241

242-
val force_instrumented_runtime: bool
243-
(** Force runtime-variant to be "i" at configure time
244-
when ocamlc or ocamlopt link executables. *)
245-
246242
val afl_instrument : bool
247243
(** Whether afl-fuzz instrumentation is generated by default *)
248244

0 commit comments

Comments
 (0)