Updates with new ARM port
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9213 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
cb4e3f79d9
commit
467a82f7bd
|
@ -49,11 +49,12 @@ clean::
|
|||
|
||||
nucleic.out: nucleic.ml
|
||||
case $(ARCH) in \
|
||||
i386) sed -e '/<HAND_CSE>/,/<\/HAND_CSE>/d' -e '/NO_CSE>/d' \
|
||||
nucleic.ml > nucleic.mlt; \
|
||||
$(CAMLOPT) $(COMPFLAGS) $(OPTFLAGS) -o nucleic.out nucleic.mlt;\
|
||||
rm -f nucleic.mlt;; \
|
||||
*) $(CAMLOPT) $(COMPFLAGS) $(OPTFLAGS) -o nucleic.out nucleic.ml; \
|
||||
i386|arm) \
|
||||
sed -e '/<HAND_CSE>/,/<\/HAND_CSE>/d' -e '/NO_CSE>/d' \
|
||||
nucleic.ml > nucleic.mlt; \
|
||||
$(CAMLOPT) $(COMPFLAGS) $(OPTFLAGS) -o nucleic.out nucleic.mlt;\
|
||||
rm -f nucleic.mlt;; \
|
||||
*) $(CAMLOPT) $(COMPFLAGS) $(OPTFLAGS) -o nucleic.out nucleic.ml; \
|
||||
esac
|
||||
|
||||
# KB
|
||||
|
|
|
@ -308,7 +308,7 @@ let _ =
|
|||
for p = 0 to 7 do
|
||||
planetpv jd p pv;
|
||||
radecdist pv position;
|
||||
Printf.printf "%d %.2f %.2f\n" p position.(0) position.(1)
|
||||
Printf.printf "%d %.2f %.2f\n%!" p position.(0) position.(1)
|
||||
done;
|
||||
(* Benchmark *)
|
||||
for i = 0 to test_loops - 1 do
|
||||
|
|
Loading…
Reference in New Issue