From: Mark Shinwell <mshinwell@janestreet.com>
To: Nils Becker <nils.becker@bioquant.uni-heidelberg.de>
Cc: Gabriel Scherer <gabriel.scherer@gmail.com>,
caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] flambda optimization settings
Date: Fri, 13 May 2016 09:51:05 +0100 [thread overview]
Message-ID: <CAM3Ki76yZK0uPWvhB0Nh72P6U5nhH7r9=Z_LUwJF6cprb+iR1A@mail.gmail.com> (raw)
In-Reply-To: <57359184.4060307@bioquant.uni-heidelberg.de>
When you say "precompiled binary", do you mean the other .cmx files?
As in, someone gives you a precompiled .cmx file, and you want to
ensure it was compiled with -O3? If so, I don't believe there's any
way of doing that at the moment. (At Jane Street we use a separate
module linked into all executables that records certain settings like
that so they can be printed using -version.)
Mark
On 13 May 2016 at 09:34, Nils Becker
<nils.becker@bioquant.uni-heidelberg.de> wrote:
> thanks mark,
>
>> At present the optimisation flags such as -O3 only need to be
>> specified when compilation (rather than linking) is occurring. So if
>> your link command only lists previously-compiled files, there is no
>> need to specify such options.
>
> my question was more: let's say i want the best possible performance.
> can i make sure that the precompiled library i am linking with is using
> -O3 ? does that make sense?
prev parent reply other threads:[~2016-05-13 8:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-12 16:13 Nils Becker
2016-05-12 18:25 ` Gabriel Scherer
2016-05-12 19:55 ` Nils Becker
2016-05-13 8:27 ` Mark Shinwell
2016-05-13 8:34 ` Nils Becker
2016-05-13 8:51 ` Mark Shinwell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM3Ki76yZK0uPWvhB0Nh72P6U5nhH7r9=Z_LUwJF6cprb+iR1A@mail.gmail.com' \
--to=mshinwell@janestreet.com \
--cc=caml-list@inria.fr \
--cc=gabriel.scherer@gmail.com \
--cc=nils.becker@bioquant.uni-heidelberg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox