Skip to content
Prev 41192 / 63421 Next

As a package author, is there a way to specify that your package is architecture (x86_64) specific?

Hi Simon, Prof. Ripley, and Dirk,

First: thanks again for the tips, it's great to have some of the "top
bRass" providing this type of help.

Last (few) comments in line:

On Fri, Sep 9, 2011 at 9:41 AM, Simon Urbanek
<simon.urbanek at r-project.org> wrote:
[snip]

About the architecture thing:
Right, of course ... as soon as you mentioned ppc64, the distinction
you folks were trying to point out was immediately clear, thanks.

[snip]

About the configure/autoconf testing thing:
OK, thanks for that, too.

So, last question here -- say I catch this error condition during the
configure (or shell) check code, and I realize that some bit of code
won't work on this machine type.

How do I signal to R's build/compile process to "error out" on the
package build proces, but just move on to the next arch/machine-type
it should try to compile?

I mean: I can imagine how one could catch an error during the compile
test and then define some var that an `#ifdef SOMETHING` could be used
in my codebase to do one thing or the other, but in this case I'm not
trying to direct the compiler down a different codepath that will work
for the machine type (for now), I just want it to give up on the
current build and try the build for the next machine-type in line.

Thanks again,
-steve