##############################################################################
##############################################################################
###
### Running command:
###
### rm -rf Cardinal.buildbin-libdir && mkdir Cardinal.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh Cardinal_1.8.0.tar.gz /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R Cardinal.buildbin-libdir
###
##############################################################################
##############################################################################
>>>>>>>
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=Cardinal.buildbin-libdir Cardinal_1.8.0.tar.gz'
>>>>>>>
* installing *source* package ‘Cardinal’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c dynamicAlign.c -o dynamicAlign.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c fastmap.c -o fastmap.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c localMaxima.c -o localMaxima.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c pugixml.cpp -o pugixml.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c readAnalyze.cpp -o readAnalyze.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c readImzML.cpp -o readImzML.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c smooth.c -o smooth.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c spatial.c -o spatial.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -fPIC -Wall -g -O2 -c utils.cpp -o utils.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o Cardinal.so dynamicAlign.o fastmap.o localMaxima.o pugixml.o readAnalyze.o readImzML.o smooth.o spatial.o utils.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-3.5-bioc/meat/Cardinal.buildbin-libdir/Cardinal/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (Cardinal)
>>>>>>>
>>>>>>> FIXING LINKS FOR Cardinal.buildbin-libdir/Cardinal/libs//Cardinal.so
>>>>>>>
install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libgcc_s.1.dylib" "Cardinal.buildbin-libdir/Cardinal/libs//Cardinal.so"
install_name_tool -change "/usr/local/lib/libgfortran.3.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libgfortran.3.dylib" "Cardinal.buildbin-libdir/Cardinal/libs//Cardinal.so"
install_name_tool -change "/usr/local/lib/libreadline.5.2.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libreadline.5.2.dylib" "Cardinal.buildbin-libdir/Cardinal/libs//Cardinal.so"
install_name_tool -change "/usr/local/lib/libreadline.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libreadline.dylib" "Cardinal.buildbin-libdir/Cardinal/libs//Cardinal.so"
install_name_tool -change "/usr/local/lib/libquadmath.0.dylib" "/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libquadmath.0.dylib" "Cardinal.buildbin-libdir/Cardinal/libs//Cardinal.so"