[Bioc-devel] Installing pkg with configure with support to multiple architectures

Dan Tenenbaum dtenenba at fhcrc.org
Thu Jan 26 22:49:51 CET 2012


On Thu, Jan 26, 2012 at 12:45 PM, Martin Morgan <mtmorgan at fhcrc.org> wrote:
> On 01/26/2012 06:01 AM, Benilton Carvalho wrote:
>>
>> A package with a configure file is installed only on the architecture
>> that called the install script.
>>
>> So I need to, manually, do:
>>
>> R --arch x86_64 CMD INSTALL oligo_version.tar.gz
>> R --arch i386 CMD INSTALL --libs-only oligo_version.tar.gz
>>
>> Is there anything I can add to the package in order to automate this?
>
>
> Hi Benilton -- on a not-quite-current R-devel, I have
>
>> R CMD INSTALL --help
> ...
> and on Windows only
>      --force-biarch    attempt to build both architectures
>                        even if there is a non-empty configure.win
>      --merge-multiarch bi-arch by merging from a tarball
>
> (from R-exts section 1.3.1 of a current R-devel it looks like this argument
> might be --force-multiarch)

--force-multiarch is an argument to R CMD check, unfortunately not R
CMD INSTALL.

As far as I know, for Mac (which I am guessing you are asking about)
there is no R-centric way to do this; you could automate it with a
script.

Dan


>
> Martin
>
>
>>
>> Thanks,
>>
>> b
>>
>> _______________________________________________
>> Bioc-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
>
>
> --
> Computational Biology
> Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
>
> Location: M1-B861
> Telephone: 206 667-2793
>
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



More information about the Bioc-devel mailing list