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. oracle查看系统资源占用情况

    1,连上服务器,使用top命令,可以查看cpu使用率以及内存的使用情况等等,还有当前各用户的使用情况 2,用pl/sql developper,tool里面选sessions,就可以看到当前sessi ...

  2. InterviewProblems

    package com.xiaoysec; /** * 下面是面试趣医网技术面的时候出现的一个简单的题目 题目的要求是将一个数组中的奇数和偶数进行分离 以奇数在前一部分为例进行解题 * 算法的主要思想 ...

  3. error2

         10:09:40 贾老师,请问这个错在哪里啊! ^^Li_Jia^^ 10:27:41 你第2个for的n是做什么的    10:28:06 换行 ^^Li_Jia^^ 10:28:26 这 ...

  4. 深入A标签点击触发事件而不跳转的详解

    本文介绍下,当点击A标签时,触发事件但不跳转的实现方法,有需要的朋友参考下吧. 点击页面上的空链接,点击后页面自动刷新,并会定位到页面顶端. 不过,有时需要点击#页面但不作跳转,可以这样写: < ...

  5. [转]easyui常用控件及样式收藏

    CSS类定义: div easyui-window                               window窗口样式 属性如下: 1)       modal:是否生成模态窗口.tru ...

  6. spoj ONP - Transform the Expression 中缀转后缀

    题目链接 将中缀表达式转化为后缀表达式. 数字的话直接放到答案的字符串里. 如果是左括号就进栈, 右括号就让栈里的符号都出来直到第一个左括号. 否则的话比较当前符号的优先级和栈顶符号的优先级. #in ...

  7. MySQLdb的安装

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

  8. [问题解决] ubuntu server12.04 按ctrl+alt+F1没用

    错误: ubuntu server12.04 想从图形化界面变成命令行界面时候,按ctrl+alt+F1没用 发生场景: 虚拟机下的ubuntu server12.04 解决方案: 因为ctrl+al ...

  9. Qt信号槽机制的实现(面试的感悟,猜测每一个类保存的一个信号和槽的二维表,实际使用函数指针 元对象 还有类型安全的检查设定等等)

    因为面试时问了我这道题,导致我想去了解信号槽到底是如何实现的,于是贴着顺序看了下源码,大致了解了整个框架.网上关于信号槽的文章也很多,但是大部分都是将如何应用的,这里我就写一下我所理解的如何实现吧, ...

  10. 字符串匹配——KMP算法

    关于KMP算法的分析,我觉得这两篇博客写的不错: http://www.ruanyifeng.com/blog/2013/05/Knuth–Morris–Pratt_algorithm.html ht ...