llvm.org GIT mirror llvm / f1e2a2c
Merge from mainline for PR2886. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_24@58033 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 10 years ago
9 changed file(s) with 15 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
609609 AC_PATH_PROG(RUNTEST, [runtest])
610610 DJ_AC_PATH_TCLSH
611611 AC_PATH_PROG(ZIP, [zip])
612 AC_PATH_PROGS(OCAMLC, [ocamlc.opt ocamlc])
613 AC_PATH_PROGS(OCAMLOPT, [ocamlopt.opt ocamlopt])
614 AC_PATH_PROGS(OCAMLDEP, [ocamldep.opt ocamldep])
615 AC_PATH_PROGS(OCAMLDOC, [ocamldoc.opt ocamldoc])
612 AC_PATH_PROGS(OCAMLC, [ocamlc])
613 AC_PATH_PROGS(OCAMLOPT, [ocamlopt])
614 AC_PATH_PROGS(OCAMLDEP, [ocamldep])
615 AC_PATH_PROGS(OCAMLDOC, [ocamldoc])
616616
617617 dnl Determine if the linker supports the -R option.
618618 AC_LINK_USE_R
81388138 fi
81398139
81408140
8141 for ac_prog in ocamlc.opt ocamlc
8141 for ac_prog in ocamlc
81428142 do
81438143 # Extract the first word of "$ac_prog", so it can be a program name with args.
81448144 set dummy $ac_prog; ac_word=$2
81838183 test -n "$OCAMLC" && break
81848184 done
81858185
8186 for ac_prog in ocamlopt.opt ocamlopt
8186 for ac_prog in ocamlopt
81878187 do
81888188 # Extract the first word of "$ac_prog", so it can be a program name with args.
81898189 set dummy $ac_prog; ac_word=$2
82288228 test -n "$OCAMLOPT" && break
82298229 done
82308230
8231 for ac_prog in ocamldep.opt ocamldep
8231 for ac_prog in ocamldep
82328232 do
82338233 # Extract the first word of "$ac_prog", so it can be a program name with args.
82348234 set dummy $ac_prog; ac_word=$2
82738273 test -n "$OCAMLDEP" && break
82748274 done
82758275
8276 for ac_prog in ocamldoc.opt ocamldoc
8276 for ac_prog in ocamldoc
82778277 do
82788278 # Extract the first word of "$ac_prog", so it can be a program name with args.
82798279 set dummy $ac_prog; ac_word=$2
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma %s -o %t 2> /dev/null
11 * RUN: ./%t %t.bc
22 *)
33
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_bitreader.cma llvm_bitwriter.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_bitreader.cma llvm_bitwriter.cma %s -o %t 2> /dev/null
11 * RUN: ./%t %t.bc
22 * RUN: llvm-dis < %t.bc | grep caml_int_ty
33 *)
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_bitwriter.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_bitwriter.cma %s -o %t 2> /dev/null
11 * RUN: ./%t %t.bc
22 * RUN: llvm-dis < %t.bc | grep caml_int_ty
33 *)
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma llvm_executionengine.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma llvm_executionengine.cma %s -o %t 2> /dev/null
11 * RUN: ./%t %t.bc
22 *)
33
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_scalar_opts.cma llvm_target.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_scalar_opts.cma llvm_target.cma %s -o %t 2> /dev/null
11 *)
22
33 (* Note: It takes several seconds for ocamlc to link an executable with
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_target.cma %s -o %t 2> /dev/null
11 *)
22
33 (* Note: It takes several seconds for ocamlc to link an executable with
None (* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma llvm_bitwriter.cma %s -o %t
0 (* RUN: %ocamlc -warn-error A llvm.cma llvm_analysis.cma llvm_bitwriter.cma %s -o %t 2> /dev/null
11 * RUN: ./%t %t.bc
22 * RUN: llvm-dis < %t.bc > %t.ll
33 *)