Ignore:
Timestamp:
May 28, 2015, 3:34:23 PM (9 years ago)
Author:
laurent
Message:

Try

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r565 r580  
    134134                   help = 'map the "coproc" application for the GietVM' )
    135135
     136parser.add_option( '--ocean', action = 'store_true', dest = 'ocean',     
     137                   default = False,
     138                   help = 'map the "ocean" application for the GietVM' )
     139
    136140###################################################################################
    137141#   Get command line arguments
     
    167171map_gameoflife = options.gameoflife  # map "gameoflife" application if True
    168172map_coproc     = options.coproc      # map "coproc" application if True
     173map_ocean      = options.ocean       # map "ocean" application if True
    169174
    170175###################################################################################
     
    230235    print '[genmap] application "coproc" will be loaded'
    231236
     237if ( map_ocean ):
     238    app = __import__( 'ocean' )
     239    app.ocean( mapping )
     240    print '[genmap] application "ocean" will be loaded'
     241
    232242###################################################################################
    233243#   Generate xml file if required.
Note: See TracChangeset for help on using the changeset viewer.