Defining build options

You can change the build options of the internal builder for building an SPL application using the InfoSphere® Streams Studio.

About this task

When you create a stand-alone build configuration or a distributed build configuration, the Edit Build Configuration window is displayed.

To change the build options for building an SPL application, follow this procedure:

Procedure

  1. In the Project Explorer view, select and right-click on the build configuration.
  2. From the menu, select Edit.
  3. When the Edit Build Configuration window is displayed, click the Cancel button to cancel the creation or changing of the build configuration.
  4. Click the OK button to save the options for the build configuration.
  5. Within the Main tab, configure the following fields:
    1. In the Configuration name field, enter a name for the configuration you are about to create. By default, the name is Distributed or Standalone.
    2. In the Main composite field, the current SPL main composite name is displayed. You can browse to another SPL main composite when you want to switch.
    3. To add compile-time arguments, select the Add Argument button, and enter the name and value of the argument. To remove the argument, use the Remove button. Use the Move Up and Move Down buttons to rearrange multiple compile-time arguments.
    4. If you are finished with your configuration, click OK.
  6. Within the Directories tab, configure the following fields:
    1. In the Output directory field, enter the name of the output directory for your distributed or stand-alone build. By default, the output directory name is the same as the build configuration name. Use the drop-down list to select from any existing directories in the output location for the main composite. Leave the output directory to its default value to ensure that each build configuration has a unique output location.
    2. Select Use project default data directory if you want to use the data directory from the project options. Select this option so that all build configurations in the project access the same application data directory. Clear Use project default data directory if you want to specify a data directory specifically for the build configuration and enter the name of the data directory. Use the Browse button to browse to a different data directory.
    3. If you are finished with your configuration, click OK.
  7. Within the Executable tab, configure the following fields:
    1. Use the Executable type list to select the executable type. Your choices are Distributed application and Standalone application.
    2. Use the Operator fusion list to select an operator fusion. When the SPL application is compiled, each operator implementation is placed inside a processing element. Operator fusion is the process of possibly placing multiple operators into a single processing element, which makes the connections between the operators more efficient.
    3. Use the Number of operator profiling samples list to select the number of operator profiling samples to include in your configuration. This option controls the-Poption on thesccommand.
    4. Use the Profiling sampling rate list to set the profiling sample rate. The profiling sampling rate controls the-Soption.
    5. Use the Processing element (PE) linkage list to select whether to Create statically linked PEs or Create dynamically linked PEs.
    6. Use the Code optimization list to select whether to generate optimized code.
    7. If you are finished with your configuration, click OK.
  8. Within the Debug tab, use the Streams Debugger (SDB) list to select whether to debug the application with the SDB. If you are finished with your configuration, click OK.
  9. Within the Other tab, configure the following fields:
    1. In the C++ compiler options field, enter any C++ compiler options to add to your application.
    2. In the C++ linker options field, enter any C++ linker options to add to your application.
    3. In the Additional SPL compiler options field, enter any additional SPL compiler options to add to your application. There are some restrictions on the values that can be entered in the Additional SPL compiler options field.
      Restriction: The followingsccompiler options are not allowed in the Additional SPL compiler options field:

      • -hor--help
      • -Cor--clean-and-suppress
      • -Jor--suppress-all-but-the-application-model
      • -Mor--main-composite
      • -for--spade-dps-file
      • --output-directory
      • --data-directory
    4. If you are finished with your configuration, click OK.
  10. In the Environment section, replace or append workplace environment variable settings.
  11. In the Compiler invocation section, select the Show toolkit path list check box to include the project's toolkit path list in the displayed compiler invocation string.

Streams Studio配置Build options的更多相关文章

  1. Android studio 配置JNI环境

    Android studio配置jni开发环境,主要配置是两个build文件,以及新建一个jni文件,放c代码. 代码如下1: apply plugin: 'com.android.model.app ...

  2. 4.0、Android Studio配置你的构建

    Android构建系统编译你的app资源和源码并且打包到APK中,你可以用来测试,部署,签名和发布.Android Studio使用Gradle,一个高级的构建套件,来自动化和管理构建进程,同时可以允 ...

  3. Android studio 配置file encoding 无效,中文乱码解决办法

    通过配置Android studio 配置file encoding 无效,中文乱码,问题出现在java编译的时候jack采用了默认编码(中文windows默认的GBK编码)而乱码,所以不管更改bui ...

  4. Android零基础入门第13节:Android Studio配置优化,打造开发利器

    原文:Android零基础入门第13节:Android Studio配置优化,打造开发利器 是不是很多同学已经有烦恼出现了?电脑配置已经很高了,但是每次运行Android程序的时候就很卡,而且每次安装 ...

  5. Android Studio Gradle Build Running 特别慢的问题探讨

    本文的本本win7 64bit 6G android studio2.1 在运行程序的时候Gradle Build Running 特别慢,一个helloworld都快2min了 1.开启gradle ...

  6. Android Studio配置Git及Git文件状态说明

    Android Studio配置Git还是比较简单的,麻烦的是可能中间出现各种问题.如果你想了解或感兴趣,请往下看. 首先你得下载Git客户端,网址:http://git-scm.com/downlo ...

  7. Android Studio 配置SVN实现代码管理

    Refference From:http://iaiai.iteye.com/blog/2267346 一.Android Studio配置SVN Android Studio关联配置SVN很简单,在 ...

  8. 如何用Android Studio查看build.gradle源码

    上一篇博客里讲过 build.gradle 里的每一行代码基本都是在调用一个方法,既然是这样,我们就可以用 android studio(下面简称as) 去查看它源码的方法注释说明,这样就可以理解每个 ...

  9. Android Studio 的 build 过程

    如图, 编译器将源代码(包括 Application Module 及其所依赖的所有 Library 源代码)转换成 DEX(Dalvik Executable)文件(其中包括运行在 Android ...

随机推荐

  1. Linux_常用命令

    文件搜索 -find -locate -grep 字符串搜索 -grep 过滤 -grep/find/xargs/ 编辑 -sed 待续....

  2. 基于nginx+lua简单的灰度发布系统

    upstream.conf upstream grey_1 { keepalive 1000; server localhost:8020; } upstream grey_2 { keepalive ...

  3. [springMVC]javax.servlet.jsp.JspTagException: Neither BindingResult nor plain target object for bean

    问题描述: 页面使用标签<form:form>进行提交时,出现[springMVC]javax.servlet.jsp.JspTagException: Neither BindingRe ...

  4. OC语法10——@protocol协议,

    参考资料:博客 @protocol,协议: OC中protocol的含义和Java中接口的含义是一样的,它们的作用都是为了定义一组方法规范. 实现此协议的类里的方法,必须按照此协议里定义的方法规范来. ...

  5. Python框架

     Django.Pylons & TurboGears & repoze.bfg.Tornado & web.py.Bottle & Flask.Quixote(豆瓣用 ...

  6. codeforces 10 D. LCIS LCIS O(n^2)算法

    题目链接 给出两个序列, 求出他们的最长公共上升子序列. 两层循环, 内层循环j, 外层i. 如果a[i] == b[j], 那么dp[j] = max(dp[j], dp[best]+1), bes ...

  7. C#控件、窗体置顶

    //控件置于顶层和底层 panel.BringToFront();//置于顶层 panel.SendToBack();//置于底层 //窗体置顶 TopMost = true;

  8. CentOS下Mysql安装调试

    一.安装   yum安装:yum install -y mysql-server mysql mysql-devel 设置自启动:chkconfig mysqld on 启动MySQL:service ...

  9. 6. java.lang.IllegalArgumentException

    方法的参数错误 比如g.setColor(int red,int green,int blue)这个方法中的三个值,如果有超过255的也会出现这个异常,因此一旦发现这个异常,我们要做的,就是赶紧去检查 ...

  10. 项目中引用ThinkPHP框架

    ThinkPHP是一个宽度.兼容且简单的国产的轻量级框架,具有优良的性能,并且非常注重易用性. 那么,我们该如何将ThinkPHP引入自己的项目中,使得自己的项目可以使用这款优良的框架呢? 首先介绍下 ...