Using Intel® System Studio with the Yocto* Project

        The Yocto* Project is an open source collaboration project that provides templates, tools, and methods to help you create custom Linux*-based systems for embedded products. The Yocto* Project uses a build system based on the Poky project to construct complete Linux images. Intel® System Studio 2018 and the newer product provides the integration layer support for the Yocto* Project Build system. With the integration layer support, you can use Intel® C++ compiler as a secondary tool chain for your project and application build. You can select and build the components for target system which include the Intel C++ Compiler runtime libraries, the Intel VTune™ Amplifier for System target package, the Intel® Integrated Performance Primitives and Intel® Math Kernel Libraries.

        This document describes how to install and use the Intel System Studio integration layer with Yocto* Project. For the version prior to the Intel System Studio 2018, please refer to the “Reference” session of this document. Please download the document from the attachment shown in below.

       If you are working with Wind River Linux 7, Wind River Linux 8 , please see also: https://software.intel.com/en-us/articles/using-intel-system-studio-with-wind-river-linux-build-environment 

       This article is applicable for Wind River Linux 9. You can use the same instructions to enable the Intel System Studio for Wind River Linux 9.

        Contents in this article

        1       Introduction. 
        2       Installation of the Intel(R) System Studio Integration Layer.
        3       Intel System Studio Recipes.
        4       Using the Intel(R) C++ Compiler as a Secondary Tool Chain for Yocto* Project Build. 
        5       Using the Intel(R) C++ Compiler from the Yocto* Project SDK. 
        6       Using SEP for Performance Analysis. 
        7       Using VTune(TM) Amplifier Remote Performance Analysis.
        8       Using Intel SoC Watch for energy profiling.
        9       Errata. 
        10       Reference. 

This article applies to:

Products: Intel(R) System Studio
Host OS/platforms: Linux* (IA32, Intel(R) 64)
Target OS/platforms: Yocto* Project/ Wind River Linux

For more complete information about compiler optimizations, see our Optimization Notice.

3 comments

Top

Hi Pavani,

      Once you installed the "Intel system studio" product, you should find a folder /opt/intel/system_studio_2017.x.y. This is the root folder for the ISS you installed. The icc compiler is part of ISS. You will find the icc runtime libraries in /opt/intel/system_studio_2017.x.y/target/system_studio_target.tgz file. The icc recipe will automatically extract that bits and install the required icc libraries into your target image.

The icc compiler itself is located in the /opt/intel/system_studio_2017.x.y/compiler_libraries/linux folder, which is actually point to /opt/intel/compilers_and_libraries_2017 folder.

You can also find the VTune amplifier from /opt/intel/system_studio_2017.x.y/vtune_amplifier_for_systems, which is actually point to /opt/intel/vtune_amplifier_2017_for_systems.x.y.z/

Thanks.

-Yang

 

Hi Yang-Wang,

I build Yocto project with Intel® System Studio layer following your guide, but the Intel C++ Compiler runtime libraries are not present in the target system /opt/intel folder. Though I got the /opt/intel/vtune_amplifier_2017_for_systems.1.0.487374/ folder, icc is missing.

I have included icc recipe and IMAGE_INSTALL_append = " intel-iss-icc-target"

Could you please provide your insight in this case.

Thank you,

Pavani Kilari 

pavani.kilari@intel.com

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.