8000 Misc. bug: [SYCL] Unexpected "setvars.sh has already been run" warning · Issue #13333 · ggml-org/llama.cpp · GitHub
[go: up one dir, main page]

Skip to content
Misc. bug: [SYCL] Unexpected "setvars.sh has already been run" warning #13333
Closed
@codayon

Description

@codayon

Name and Version

version: 5288 (a7366fa)
built with Intel(R) oneAPI DPC++/C++ Compiler 2025.1.1 (2025.1.1.20250418) for x86_64-unknown-linux-gnu

Linux ubuntu 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Operating systems

Linux

Which llama.cpp modules do you know to be affected?

Documentation/Github

Command line

source /opt/intel/oneapi/setvars.sh
sycl-ls

./examples/sycl/build.sh

Problem description & steps to reproduce

While trying to build llama.cpp, I got an unexpected warning saying,

:: WARNING: setvars.sh has already been run. Skipping re-execution.
   To force a re-execution of setvars.sh, use the '--force' option.
   Using '--force' can result in excessive use of your environment variables.
  
usage: source setvars.sh [--force] [--config=file] [--help] [...]
  --force        Force setvars.sh to re-run, doing so may overload environment.
  --config=file  Customize env vars using a setvars.sh configuration file.
  --help         Display this help message and exit.
  ...            Additional args are passed to individual env/vars.sh scripts
                 and should follow this script's arguments.
  
  Some POSIX shells do not accept command-line options. In that case, you can pass
  command-line options via the SETVARS_ARGS environment variable. For example:
  
  $ SETVARS_ARGS="--config=config.txt" ; export SETVARS_ARGS
  $ . path/to/setvars.sh
  
  The SETVARS_ARGS environment variable is cleared on exiting setvars.sh.
  
The oneAPI toolkits no longer support 32-bit libraries, starting with the 2025.0 toolkit release. See the oneAPI release notes for more details.
  
./examples/sycl/build.sh: line 14: cmake: command not found
./examples/sycl/build.sh: line 23: cmake: command not found

I was following the guide for SYCL: Linux. I am getting this warning several times,

source /opt/intel/oneapi/setvars.sh

./examples/sycl/run-llama2.sh 0

Another thing I noticed, there is no mention about the required build packages i.e. cmake.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0