rwinlib / gcc-4.9.3

Building R for Windows with the new gcc 4.9.3 toolchain
28 stars 7 forks source link

External Software zip #5

Open jimhester opened 8 years ago

jimhester commented 8 years ago

Brian currently compiles and distributes precompiled binaries at http://www.stats.ox.ac.uk/pub/Rtools/libs.html

Is the plan to distribute the statically compiled libraries in rwinlib in the same fashion? I.e. from one zip file?

How have you been specifying the locations of the statically linked libraries? I see you can set the LOCAL_SOFT make variable to specify a location, but it expects the libraries to be bundled together in the same path. Therefore I set LOCAL_SOFT=C:/local and did the following in the git bash prompt.

cd C:/
mkdir git local
# clone all the repo in rwinlib (except r-base)
cd git
curl -s https://api.github.com/orgs/rwinlib/repos\?per_page\=200 | perl -ne 'print "$1\n" if (/"git_url": "([^"]+)/)' | grep -v r-base | xargs -n 1 git clone

# copy files for each project into local/
for dir in */;do pushd $dir;cp -r * ../../local/;popd;done

This seems to work but I am running into issues getting git2r to compile (#6)