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. ER图与UML图

    ER图:实体-联系图(Entity-Relation Diagram)用来建立数据模型,在数据库系统概论中属于概念设计阶段,ER图提供了表示实体(即数据对象).属性和联系的方法,用来描述现实世界的概念 ...

  2. hdu4745

    区间DP,这类题目还是非常常见的,可惜平时都不怎么在意.一到比赛就弱得像鸟一样,真心囧. 题目要求很简单,就是一个最长的回文子序列,输出该子序列的长度. 区间DP,最常用的一种策略(类似于数学归纳法) ...

  3. C语言队列的实现

    队列是常用的数据结构之一,下面给出一个链式队列的实现: 头文件Queue.h #ifndef Queue_H #define Queue_H typedef int Item; typedef str ...

  4. mysql 数据库热备份

    https://www.percona.com/doc/percona-xtrabackup/2.2/index.html

  5. jedis入门一

    一.下载Jedis的依赖包jedis-2.1.0.jar,然后将其添加到classpath下面. 1. 定义连接:Redis暂时不要设置登录密码 Jedis jedis = new Jedis(&qu ...

  6. Docker镜像与仓库(二)Dockerfile

    Docker镜像文件与仓库(二) Docker镜像文件与仓库(二) Dockerfile指令 Dockerfile格式: 1.#Comment注释2.INSTRUCTION大写的指令名 argumen ...

  7. VB EditGrid的用法

    百度了一下,关于vb 6.0 EditGrid的用法 查不到资料

  8. MySQLdb的安装

    第一步:下载安装介质 https://pypi.python.org/pypi/MySQL-python 注意虽然模块名叫MySQLdb但是MySQL-python指的就是MySQLdb 第二步:安装 ...

  9. image.xx.com 通过haproxy 跳转到内部图片服务器

    <pre name="code" class="html">http://www.hyyche.com/#main C:\Users\Adminis ...

  10. C语言入门(11)——switch分支语句

    C语言提供了一种用于多分支选择的switch语句, 其一般形式为: switch(表达式) { case 常量表达式1:语句1; break; case 常量表达式2:语句2; break; .... ...