Forums - Open SSC7.0 build Issue(LLVMBIN} not found using system environment)

2 posts / 0 new
Last post
Open SSC7.0 build Issue(LLVMBIN} not found using system environment)
SatishKumar
Join Date: 12 Mar 19
Posts: 1
Posted: Mon, 2019-03-18 05:37

Hi Forum Please help me to Compile OpenSSC7.0 

I have followed the procedure as per following steps mentioned in the Document

Pre-requisites tools installed
 
 
        1. Hexagon Tools 8.2.05
        2. LLVM 3.9.3
        3. Python 2.7
        4. Perl 5.18.2 or later
        5. Qualcomm USB driver for Windows 1.00.52
        6. ADB version 1.0.39
        7. Nanopb generator nanopb-0.3.6-windows-x86.zip
 
after that followed the steps below
 
Nanopb Dependency
 
        1. Download nanopb-0.3.6-windows-x86.zip from https://jpa.kapsi.fi/nanopb/download/
        2. Copy the nanopb-0.3.6-windows-x86.zip file to the following location: \slpi_proc\ssc\tools
        3. Open a command terminal
        4. Change the directory to \slpi_proc
        5. Run the following command: python ssc\build\config_nanopb_dependency.py -f nanopb-0.3.6-windows-x86 

 

Building OpenSSC 7.0 to generate SEE binaries

before that I have changed the build.py(\HD22_22\slp_proc\build\build.py) with required changes for Hexagon Tools Version Changes

I have given the command 

python .\slpi_proc\build\build.py -c sm8150 -f TOUCH_USES_PRAM,SENSORS_DD_DEV_FLAG,USES_BUS_CUSTOMER_CONFIG -o all

 

and after that I am facing the below mentioned isssue

as " ${LLVMBIN} not found using system environment.:""

 

RuntimeError: ${LLVMBIN} not found using system environment.:

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\build\start.scons", line 48:

    ENV.Tool('ComSConstruct', toolpath = ['${BUILD_ROOT}/tools/build/scons/build'])

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Environment.py", line 1692:

    tool(self)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Tool\__init__.py", line 180:

    self.generate(env, *args, **kw)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\build\ComSConstruct.py", line 62:

    env.LoadImageUnits(env.get('IMAGE_ROOT_DIR_PATTERNS'))

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Environment.py", line 222:

    return self.method(*nargs, **kwargs)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\scripts\utils.py", line 1979:

    load_sub_scripts(env, dir_patterns, script_name_patterns, "image", clone_env=True)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\scripts\utils.py", line 2322:

    node.load_scripts(script_list, script_type, clone_env=clone_env, mark_time=True)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\scripts\utils.py", line 2390:

    env.SConscript(script, exports='env')

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Script\SConscript.py", line 551:

    return _SConscript(self.fs, *files, **subst_kw)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Script\SConscript.py", line 260:

    exec _file_ in call_stack[-1].globals

  File "D:\SSC_7.0\HD22_2\slpi_proc\build\bsp\sdc_img\build\sdc_img.scons", line 106:

    env.InitBuildConfig()

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Environment.py", line 222:

    return self.method(*nargs, **kwargs)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\scripts\config.py", line 202:

    env.LoadToolScript("".join([tool, ext]))

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Environment.py", line 222:

    return self.method(*nargs, **kwargs)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\scripts\utils.py", line 1959:

    m.generate(env)

  File "D:\SSC_7.0\HD22_2\slpi_proc\build\bsp\sdc_img\build\sdctools_defs.py", line 33:

    env.Tool('llvm', toolpath = ['${BUILD_ROOT}/build'])

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Environment.py", line 1692:

    tool(self)

  File "D:\SSC_7.0\HD22_2\slpi_proc\tools\build\scons\SCons\Tool\__init__.py", line 180:

    self.generate(env, *args, **kw)

  File "D:\SSC_7.0\HD22_2\slpi_proc\build\llvm.py", line 449:

    raise RuntimeError, "${LLVMBIN} not found using system environment."

 

 

please help me to resolve this issue and move forward.....

  • Up0
  • Down0
yuan.song
Join Date: 9 Sep 21
Posts: 1
Posted: Wed, 2022-10-26 00:40

Can you solved this issue?

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.