/[Slicer3]/oldtrunk/slicer_variables.tcl
ViewVC logotype

Diff of /oldtrunk/slicer_variables.tcl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10437 by pieper, Wed Sep 9 21:35:19 2009 UTC revision 10443 by pieper, Thu Sep 10 18:11:33 2009 UTC
# Line 73  puts "Slicer3_HOME is $::Slicer3_HOME" Line 73  puts "Slicer3_HOME is $::Slicer3_HOME"
73  # section below, or genlib will happily build the library again.  # section below, or genlib will happily build the library again.
74    
75  set ::Slicer3_TAG "http://svn.slicer.org/Slicer3/trunk"  set ::Slicer3_TAG "http://svn.slicer.org/Slicer3/trunk"
76  set ::CMAKE_TAG "CMake-2-6-4"  set ::CMAKE_TAG "CMake-2-6"
77  set ::Teem_TAG http://teem.svn.sourceforge.net/svnroot/teem/teem/tags/1.10.0  set ::Teem_TAG http://teem.svn.sourceforge.net/svnroot/teem/teem/tags/1.10.0
78  set ::KWWidgets_TAG "Slicer-3-4"  set ::KWWidgets_TAG "Slicer-3-4"
79  set ::VTK_TAG "VTK-5-4"  set ::VTK_TAG "VTK-5-4"
# Line 81  set ::ITK_TAG ITK-3-14 Line 81  set ::ITK_TAG ITK-3-14
81  set ::PYTHON_TAG "http://svn.python.org/projects/python/branches/release26-maint"  set ::PYTHON_TAG "http://svn.python.org/projects/python/branches/release26-maint"
82  set ::BLAS_TAG http://svn.slicer.org/Slicer3-lib-mirrors/trunk/netlib/BLAS  set ::BLAS_TAG http://svn.slicer.org/Slicer3-lib-mirrors/trunk/netlib/BLAS
83  set ::LAPACK_TAG http://svn.slicer.org/Slicer3-lib-mirrors/trunk/netlib/lapack-3.1.1  set ::LAPACK_TAG http://svn.slicer.org/Slicer3-lib-mirrors/trunk/netlib/lapack-3.1.1
 #set ::NUMPY_TAG "http://svn.scipy.org/svn/numpy/trunk"  
84  set ::NUMPY_TAG "http://svn.scipy.org/svn/numpy/branches/1.3.x"  set ::NUMPY_TAG "http://svn.scipy.org/svn/numpy/branches/1.3.x"
 #set ::SCIPY_TAG "http://svn.scipy.org/svn/scipy/trunk"  
85  set ::SCIPY_TAG "http://svn.scipy.org/svn/scipy/branches/0.7.x"  set ::SCIPY_TAG "http://svn.scipy.org/svn/scipy/branches/0.7.x"
86    #set ::BatchMake_TAG "BatchMake-1-2"
87  set ::BatchMake_TAG "HEAD"  set ::BatchMake_TAG "HEAD"
88  set ::SLICERLIBCURL_TAG "HEAD"  set ::SLICERLIBCURL_TAG "HEAD"
89  set ::OpenIGTLink_TAG "http://svn.na-mic.org/NAMICSandBox/branches/OpenIGTLink-1-0"  set ::OpenIGTLink_TAG "http://svn.na-mic.org/NAMICSandBox/branches/OpenIGTLink-1-0"
# Line 364  switch $::tcl_platform(os) { Line 363  switch $::tcl_platform(os) {
363            set ::env(CC) cc            set ::env(CC) cc
364            set ::env(CXX) CC            set ::env(CXX) CC
365            set ::FORTRAN_COMPILER "f90"            set ::FORTRAN_COMPILER "f90"
366              set ::env(CXXFLAGS) "-library=stlport4"
367          } else {          } else {
368            set ::env(CC) gcc            set ::env(CC) gcc
369            set ::env(CXX) g++            set ::env(CXX) g++
370            set ::COMPILER_PATH "/usr/sfw/bin"            set ::COMPILER_PATH "/usr/sfw/bin"
371            set ::COMPILER "g++"            set ::COMPILER "g++"
372            set ::FORTRAN_COMPILER "g77"            set ::FORTRAN_COMPILER "g77"
373              set ::env(CXXFLAGS) ""
374          }          }
375          # NOTE: the bellow flags will only work with gcc, and Studio 12 or newer.          # NOTE: the bellow flags will only work with gcc, and Studio 12 or newer.
376          # Earlier Studio versions do not accept the -m64 flag.          # Earlier Studio versions do not accept the -m64 flag.
# Line 389  switch $::tcl_platform(os) { Line 390  switch $::tcl_platform(os) {
390            # http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6223255            # http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6223255
391            if {$tcl_platform(osVersion) == "5.10" && ($::GETBUILDTEST(bitness) == "64" || $::GENLIB(bitness) == "64")} {            if {$tcl_platform(osVersion) == "5.10" && ($::GETBUILDTEST(bitness) == "64" || $::GENLIB(bitness) == "64")} {
392              set ::env(CFLAGS) -m64              set ::env(CFLAGS) -m64
393              set ::env(CXXFLAGS) -m64              set ::env(CXXFLAGS) "$::env(CXXFLAGS) -m64"
394              set ::env(LDFLAGS) "-m64 -L/usr/sfw/lib/64 -R/usr/sfw/lib/64"              set ::env(LDFLAGS) "-m64 -L/usr/sfw/lib/64 -R/usr/sfw/lib/64"
395    
396            } else {            } else {
397              set ::env(CFLAGS) -m64              set ::env(CFLAGS) -m64
398              set ::env(CXXFLAGS) -m64              set ::env(CXXFLAGS) "$::env(CXXFLAGS) -m64"
399              set ::env(LDFLAGS) -m64              set ::env(LDFLAGS) -m64
400            }            }
401          } else {          } else {
402            set ::env(CFLAGS) ""            set ::env(CFLAGS) ""
403            set ::env(CXXFLAGS) ""            set ::env(CXXFLAGS)  $::env(CXXFLAGS)
404            set ::env(LDFLAGS) ""            set ::env(LDFLAGS) ""
405          }          }
406          puts "slicer_variables.tcl: GENLIB(bitness): $::GENLIB(bitness) GETBUILDTEST(bitness): $::GETBUILDTEST(bitness)"          puts "slicer_variables.tcl: GENLIB(bitness): $::GENLIB(bitness) GETBUILDTEST(bitness): $::GETBUILDTEST(bitness)"

Legend:
Removed from v.10437  
changed lines
  Added in v.10443

  ViewVC Help
Powered by ViewVC 1.1.22