[Bioc-devel] Installing pkg with configure with support to multiple architectures
Thanks Dan and Martin, Dan, yes, your assumption is correct (I'm trying to do this on a Mac). The major problem (actually, annoyance) for me is when something like the following happens (running R under x86_64 and installing via install.packages/biocLite): - Install pkg1, which has a configure script... Then, pkg1 is installed under x86_64; - (try to) install pkg2, which does not have a configure script, but depends on pkg1.... it installs the x86_64 part just fine, but the i386 fails (because pkg1 isnt available under i386)... then the whole installation of pkg2 fails. Maybe it's just something basic I'm missing from my end? b
On 26 January 2012 21:49, Dan Tenenbaum <dtenenba at fhcrc.org> wrote:
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