close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#1818 closed task (fixed)

Cmpilar contribs con Rtools

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: Mantainance
Component: Kernel Version: 3.1
Severity: blocker Keywords:
Cc: Pedro Gea, César Pérez Álvarez, Víctor de Buen Remiro

Description

Se requiere compilar los contribs usados por TOL con Rtools. Esto es un paso previo a la compilación de TOl con Rtools.

Attachments (1)

notes_compilation_tol.txt (17.4 KB) - added by Jorge 10 years ago.
Notes for Rtools 32 bits

Download all attachments as: .zip

Change History (82)

comment:1 Changed 10 years ago by Jorge

(In [6403]) archivos de soporte a la compilación con cmake. refs #1812, #1818

comment:2 Changed 10 years ago by Jorge

(In [6404]) archivos CMakeLists de soporte a la compilación con cmake, falta configuración de libs externas. refs #1812, #1818

comment:3 Changed 10 years ago by Jorge

(In [6405]) archivos CMakeLists de soporte a la compilación con cmake: FindODBC.cmake. refs #1812, #1818

comment:4 Changed 10 years ago by Jorge

(In [6406]) archivos CMakeLists de soporte a la compilación con cmake: tomados desde VTK. refs #1812, #1818

comment:5 Changed 10 years ago by Jorge

(In [6407]) archivos FindXYZ.cmake de soporte a la compilación con cmake. refs #1812, #1818

comment:6 Changed 10 years ago by Jorge

(In [6408]) literal de cadena debe ir con const char*. refs #1812, #1818

comment:7 Changed 10 years ago by Jorge

(In [6409]) estandarizando el config.h segun lo que se genera con cmake para facilitar la transicion de bjam a cmake. refs #1812, #1818

comment:8 Changed 10 years ago by Jorge

(In [6410]) estandarizando segun lo que se genera con cmake para facilitar la transicion de bjam a cmake, BIntPair debe ir fuera del #ifndef HAVE_ROUND refs #1812, #1818

comment:9 Changed 10 years ago by Jorge

(In [6411]) refs #1812, #1818

comment:10 Changed 10 years ago by Jorge

(In [6412]) completando CMakeLists.txt, tol y tolcon compilan pero no encuentra stdlib, refs #1812, #1818

comment:11 Changed 10 years ago by Jorge

(In [6415]) plantilla de config.h basada en cmake, refs #1812, #1818

comment:12 Changed 10 years ago by Jorge

(In [6417]) refs #1812, #1818, macros para la conversion de path en msys. En MSYS find_path & find_library necesitan de los path nativos de WIN32.

comment:13 Changed 10 years ago by Jorge

(In [6418]) CMakeLists.txt para dbdrivers, refs #1812, #1818

comment:14 Changed 10 years ago by Jorge

(In [6421]) algunos HAVE_ adicionales, refs #1812, #1818

comment:15 Changed 10 years ago by Jorge

(In [6434]) incorporamos FindCBLAS a la compilación basada en cmake, refs #1812, #1818

comment:16 Changed 10 years ago by Jorge

(In [6435]) incorporamos FindCLAPACK a la compilación basada en cmake, refs #1812, #1818

comment:17 Changed 10 years ago by Jorge

(In [6443]) refs #1812, #1818, primera version compilable con Rtools (mingw-gcc) hay que hacer un repaso de los #ifdef _MSC_VER, documentar el proceso y crear un .bat para automatizar todo el proceso de compilacion.

comment:18 Changed 10 years ago by Jorge

(In [6444]) refs #1812, #1818, correcion de warning de compilacion con gcc "duplicated section ..." emitido al enlazar la dll de tol.

comment:19 Changed 10 years ago by Jorge

(In [6445]) refs #1812, #1818, algun efecto fantasme esta pasando en la busqueda de fftw

comment:20 Changed 10 years ago by Jorge

(In [6450]) refs #1812, #1818, las funciones inline no deberia declararse como exportables desde dll, es un warning detectado al compilar los paquetes en concreto MatQuery.

comment:21 Changed 10 years ago by Jorge

(In [6454]) refs #1812, refs #1818 se requiere kmlocal en el path de los includes para bmath/bprdist

comment:22 Changed 10 years ago by Jorge

(In [6455]) refs #1812, refs #1818 cambios requeridos desde la compilación de toltcl con CMake, DLLEXPORT extra en conflicto con DLLEXPORT de tcl, se fuerza el const de algunos argumentos

comment:23 Changed 10 years ago by Jorge

(In [6456]) refs #1812, refs #1818, compilación basada en CMake, eliminación de warnings, automatización de la regla install.

Configuración en Linux como:

cmake -DCMAKE_TOOLCHAIN_FILE=../linux-i686.toolchain.cmake -DTOL_PREFIX_PATH=/usr/local/tol32 -DCMAKE_BUILD_TYPE=Release -DTCL_LIBRARY=/usr/local/tcl8.5-i686/lib/libtcl8.5.so ..

comment:24 Changed 10 years ago by Jorge

(In [6457]) refs #1812, refs #1818, eliminamos traza inncesaria

comment:25 Changed 10 years ago by Jorge

(In [6458]) refs #1812, refs #1818, reglas install para tol

comment:26 Changed 10 years ago by Jorge

(In [6459]) refs #1812, #1818, actualizadas reglas install para windows

comment:27 Changed 10 years ago by Jorge

(In [6460]) refs #1812, #1818, deshabilitamos la interseccion de errores de gsl, esto debe hacerse desde TOL

comment:28 Changed 10 years ago by Jorge

(In [6462]) refs #1812, #1818, eliminamos dependencia binaria de gsl desde el API externa de TOL, instalamos tambien los include de sparsehash

comment:29 Changed 10 years ago by Jorge

(In [6463]) refs #1812, #1818, configuracion especifica para WIN32 donde concoemos bien donde estaran los archivos devel que tomamos de la variable TOL_PREFIX_PATH

comment:30 Changed 10 years ago by Jorge

(In [6464]) refs #1812, refs #1818 en Linux

CMake Error at generic/CMakeLists.txt:18 (install):

install TARGETS given no LIBRARY DESTINATION for shared library target
"toltcl".

comment:31 Changed 10 years ago by Jorge

(In [6465]) refs #1812, refs #1818, en windows la regla install es distinta para la dll

comment:32 Changed 10 years ago by Jorge

(In [6466]) refs #1812, refs #1818, mejora la busqueda de las librerias BLAS/LAPACK de R

comment:33 Changed 10 years ago by Jorge

(In [6467]) refs #1812, refs #1818, tolsh es parte de toltcl a partir de ahora

comment:34 Changed 10 years ago by Jorge

(In [6468]) refs #1812, refs #1818, tolsh.exe debe compilarse sin TCL_STUBS, tolsh necesita de tcl84.a

comment:35 Changed 10 years ago by Jorge

(In [6471]) refs #1812, refs #1818, modulos de soporte a la compilación de TolRInside

comment:36 Changed 10 years ago by Jorge

(In [6472]) refs #1812, refs #1818, directorio de prueba para cmake

comment:37 Changed 10 years ago by Jorge

(In [6475]) refs #1812, refs #1818, reusamos la definicion TOL_DLLEXPOR

comment:38 Changed 10 years ago by Jorge

(In [6476]) refs #1812, refs #1818, en WIN32 RInside:::LdFlags() esta retornando el camino de la lib con comillas y eso confunde al linker.

"C:/Archivos de programa/R/R-3.1.2/library/RInside/lib/i386/libRInside.a"

comment:39 Changed 10 years ago by Jorge

(In [6477]) refs #1812, refs #1818, actualizacion de compilacion de TolRInside en Win32

comment:40 Changed 10 years ago by Jorge

(In [6479]) refs #1812, refs #1818, algunas expresiones de prueba de uso

comment:41 Changed 10 years ago by Jorge

(In [6486]) refs #1812, refs #1818, pruebas para detectar el sistema

comment:42 Changed 10 years ago by Jorge

(In [6494]) refs #1818, #1812, mejoras en la busqueda de R en Windows

comment:43 Changed 10 years ago by Jorge

(In [6495]) refs #1812, refs #1818, correccion en la regla install de tol

comment:44 Changed 10 years ago by Jorge

(In [6507]) #refrefs #1812, refs #1818, toltcl con mingw32

comment:45 Changed 10 years ago by Jorge

(In [6510]) refs #1818, #1812, compilación del ejecutable de tolbase basado en CMake

comment:46 Changed 10 years ago by Jorge

(In [6511]) refs #1812, refs #1818, al enlazar tolbase.exe en windows hay que dar la opcion -mwindows para que no abra una consola del DOS

comment:47 Changed 10 years ago by Jorge

(In [6524]) refs #1812, refs #1818, correcciones en el post-build

comment:48 Changed 10 years ago by Jorge

(In [6531]) refs #1818, #1812 win_findexe.c para windows unix_findexe.c para linux

comment:49 Changed 10 years ago by Jorge

(In [6545]) compilación basada en CMake para TclCore, subimos número de versión.

refs #1812, #1818

comment:50 Changed 10 years ago by Jorge

(In [6546]) refs #1812, #1818, LTDL se requiere en TclCore y en windows se debe explicitar en el paso link de la dll

comment:51 Changed 10 years ago by Jorge

(In [6547]) refs #1812, #1818, LTDL se requiere en TclCore y en windows se debe explicitar en el paso link de la dll

comment:52 Changed 10 years ago by Jorge

(In [6548]) refs #1812, #1818, la regla install incluye los archivos de desarrollo de libltdl ya que hay paquetes binarios que lo requieren como TclCore

comment:53 Changed 10 years ago by Jorge

(In [6549]) refs #1812, #1818, actualizacion de la compilacion de Toltcl para windows, es requerido por TclCore

comment:54 Changed 10 years ago by Jorge

(In [6550]) refs #1812, #1818, actualizacion de la compilacion de Toltcl para windows, es requerido por TclCore

comment:55 Changed 10 years ago by Jorge

(In [6551]) refs #1812, #1818, actualizacion de la compilacion de Toltcl para windows, es requerido por TclCore

comment:56 Changed 10 years ago by Pedro Gea

(In [6576]) Refs #1812, #1818,
Se renombran añadiendo un 0 todos los términos.
Véase [6566]

comment:57 Changed 10 years ago by Jorge

(In [6589]) refs #1812, #1818, correccion en la inicializacion de TolAppData con el compilador mingw

comment:58 Changed 10 years ago by Jorge

(In [6591]) refs #1812, #1818, #refs 1783, el archivo donde se redireccionan los errores debe estar escapado.

comment:59 Changed 10 years ago by Jorge

(In [6595]) refs #1812, #1818, incluyo el TOL_PREFIX_PATH en el camino de busqueda de CMake

comment:60 Changed 10 years ago by Jorge

(In [6599]) refs #1831, #1812, #1818, se actualiza el codigo para el formato basado en variantes, subimos la variante mingw32

comment:61 Changed 10 years ago by Jorge

(In [6605]) refs #1831, #1812, #1818, faltaban las libs de desarrollo

comment:62 Changed 10 years ago by Jorge

(In [6608]) refs #1831, #1812, #1818, forzamos IPOPT_DIR a nuestro directorio

comment:63 Changed 10 years ago by Jorge

(In [6609]) refs #1831, #1812, #1818, correciones para encontrar bien IPOPT en windows

comment:64 Changed 10 years ago by Jorge

(In [6626]) refs #1831, #1812, #1818, corregimos la inicializacion en windows.

comment:65 Changed 10 years ago by Jorge

(In [6630]) refs #1818, #1812, se corrige la carga de Toltcl desde R

comment:66 Changed 10 years ago by Jorge

(In [6631]) refs #1839, #1812, #1818, dll para MinGW_32/toltcl.dll

comment:67 Changed 10 years ago by Jorge

(In [6664]) refs #1838, #1812, #1818 actualizacion de la compilacion con -mno-align-double

comment:68 Changed 10 years ago by Jorge

(In [6665]) refs #1838, #1812, #1818 actualizacion de la compilacion con -mno-align-double

comment:69 Changed 10 years ago by Jorge

(In [6666]) refs #1828, #1812, #1818 actualizacion de la compilacion de TolEXcel con -mno-align-double

comment:70 Changed 10 years ago by Jorge

(In [6667]) refs #1839, #1812, #1818 actualizacion de la compilacion de TclCore con -mno-align-double

comment:71 Changed 10 years ago by Jorge

(In [6668]) refs #1830, #1812, #1818 actualizacion de la compilacion de TclGsl con -mno-align-double

comment:72 Changed 10 years ago by Jorge

(In [6669]) refs #1812, #1818, #1831, recompilacion de las libs de ipopt con las opciones -mno-align-double

comment:73 Changed 10 years ago by Jorge

(In [6670]) refs #1831, #1812, #1818 actualizacion de la compilacion de TolIpopt con -mno-align-double

comment:74 Changed 10 years ago by Jorge

(In [6671]) refs #1812, #1818, fixes #1847 MememoryStatus retorna unknown (similar a Linux) para la variante mingw32

comment:75 Changed 10 years ago by Jorge

(In [6672]) refs #1812, #1818, antes de copiar la dll se ejecuta strip para reducir el "size" del paquete que se subira al repositorio

comment:76 Changed 10 years ago by Jorge

(In [6726]) refs #1818, #1812 CPACK se manejará en un proyecto espcifico de instalacion.

comment:77 Changed 10 years ago by Jorge

(In [6744]) refs #1812, #1818, eliminamos dependencia de Rblas y Rlapack, hay que usar el nuevo contrib desde http://packages.tol-project.org/win32/development/toldevel-rtools-m32.exe

Luego hay que limpiar el cache de cmake para refrescar las nuevas libs de blas/lapack, para ello debemos ejecutar desde el directorio de compilacion la siguiente instruccion:

cmake -U BLAS -U LAPACK .

Reccompilar con:

mingw32-make

comment:78 Changed 10 years ago by Jorge

(In [6745]) refs #1818, actualizamos la licencia a GPL-3

comment:79 Changed 10 years ago by Jorge

(In [6751]) refs #1812, #1818, R_HOME solo es necesario en Windows

Changed 10 years ago by Jorge

Attachment: notes_compilation_tol.txt added

Notes for Rtools 32 bits

comment:80 Changed 10 years ago by Jorge

Resolution: fixed
Status: newclosed

The compilation notes for contrib's bundle are attached to this ticket.

comment:81 Changed 9 years ago by Jorge

(In [6857]) refs #1812, #1818, #1866, se corrigen errores de busqueda de R.dll y RInside, buscamos los path mediante Rscript

Note: See TracTickets for help on using tickets.