Skip to content

Commit

Permalink
flambda-backend: To upstream: fix to Ocaml_modifiers in ocamltest
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell authored and poechsel committed Jun 25, 2021
1 parent 686d6e3 commit 71a03ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ocamltest/.depend
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,14 @@ ocaml_flags.cmi : \
environments.cmi
ocaml_modifiers.cmo : \
ocamltest_stdlib.cmi \
ocamltest_config.cmi \
ocaml_variables.cmi \
ocaml_directories.cmi \
environments.cmi \
ocaml_modifiers.cmi
ocaml_modifiers.cmx : \
ocamltest_stdlib.cmx \
ocamltest_config.cmx \
ocaml_variables.cmx \
ocaml_directories.cmx \
environments.cmx \
ocaml_modifiers.cmi
ocaml_modifiers.cmi : \
Expand Down
2 changes: 1 addition & 1 deletion ocamltest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ ocaml_plugin := \
ocaml_backends.mli ocaml_backends.ml \
ocaml_filetypes.mli ocaml_filetypes.ml \
ocaml_variables.mli ocaml_variables.ml \
ocaml_modifiers.mli ocaml_modifiers.ml \
ocaml_directories.mli ocaml_directories.ml \
ocaml_modifiers.mli ocaml_modifiers.ml \
ocaml_files.mli ocaml_files.ml \
ocaml_flags.mli ocaml_flags.ml \
ocaml_commands.mli ocaml_commands.ml \
Expand Down
3 changes: 2 additions & 1 deletion ocamltest/ocaml_modifiers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ let make_module_modifier unit_name directory =
]

let compiler_subdir subdir =
Filename.make_path (Ocamltest_config.ocamlsrcdir :: subdir)
(* CR mshinwell: upstream this change *)
Filename.make_path (Ocaml_directories.srcdir :: subdir)

let config =
[
Expand Down

0 comments on commit 71a03ef

Please sign in to comment.