Revision: 517
http://rpy.svn.sourceforge.net/rpy/?rev=517&view=rev
Author: warnes
Date: 2008-05-14 10:10:57 -0700 (Wed, 14 May 2008)
Log Message:
-----------
Turn off debug build flag for default installs, add todo about Rlapack/lapack
Modified Paths:
--------------
trunk/rpy/setup.py
Modified: trunk/rpy/setup.py
===================================================================
--- trunk/rpy/setup.py 2008-05-14 17:05:47 UTC (rev 516)
+++ trunk/rpy/setup.py 2008-05-14 17:10:57 UTC (rev 517)
@@ -30,13 +30,14 @@
See the files INSTALL.UNIX and INSTALL.WINDOWS for more details.
"""
-DEBUG=True
+DEBUG=False
import os, os.path, sys, shutil, re
from distutils.core import setup, Extension
from distutils.sysconfig import *
from distutils.errors import *
import rpy_tools
+
if sys.platform=="win32":
import rpy_wintools
@@ -85,7 +86,7 @@
get_config_vars()['OPT'] = '-g -Wall'
else:
# to avoid strict prototypes errors from R includes
- get_config_vars()['OPT'] = '-DNDEBUG -g -O3 -Wall'
+ get_config_vars()['OPT'] = '-DNDEBUG -O3 -Wall'
# get the Python version
if sys.version[:3] >= '2.2':
@@ -160,7 +161,10 @@
else: # unix-like systems, this is known to work for Linux and Solaris
include_dirs = [ os.path.join(RHOME.strip(), 'include'),
'src', '/usr/share/R/include' ]
+
+ # TODO: determine if Rlapack is available, if not use standard lapack
libraries=['R','Rlapack']
+
library_dirs = r_libs
runtime_libs = r_libs
extra_compile_args=["-shared"]
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list