Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM is not showing choice for scripts with the same tags #1101

Closed
arjunsuresh opened this issue Feb 10, 2024 · 1 comment
Closed

CM is not showing choice for scripts with the same tags #1101

arjunsuresh opened this issue Feb 10, 2024 · 1 comment

Comments

@arjunsuresh
Copy link
Contributor

We have two scripts with "install,llvm" tags but the below command is autopicking "install,llvm,src"

arjun@arjun-spr:~/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/install-llvm-prebuilt$ cm run script --tags="install,llvm"

* cm run script "install llvm"

  * cm run script "detect os"
         ! cd /home/arjun/CM/repos/local/cache/88d0415c51614243
         ! call tmp-run.sh from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-os/run.sh
         ! call "postprocess" from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-os/customize.py

  * cm run script "detect cpu"

    * cm run script "detect os"
           ! cd /home/arjun/CM/repos/local/cache/88d0415c51614243
           ! call tmp-run.sh from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-os/run.sh
           ! call "postprocess" from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-os/customize.py
         ! cd /home/arjun/CM/repos/local/cache/88d0415c51614243
         ! call tmp-run.sh from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-cpu/run.sh
         ! call "postprocess" from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-cpu/customize.py

  * cm run script "get cmake"
      - More than 1 cached script output found for "get,cmake":

        0) /home/arjun/CM/repos/local/cache/e712376348144a16 (get,cmake,get-cmake,script-artifact-52bf974d791b4fc8,version-3.21.1) (Version 3.21.1)
        1) /home/arjun/CM/repos/local/cache/49b8f170a7974118 (get,cmake,get-cmake,script-artifact-52bf974d791b4fc8,version-3.27.7) (Version 3.27.7)

        Make your selection or press Enter for 0 or use -1 to skip: q

Directly calling "install llvm prebuilt"

arjun@arjun-spr:~/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/install-llvm-prebuilt$ cm run script --tags="install,llvm,prebuilt"

* cm run script "install llvm prebuilt"

  * cm run script "detect os"
         ! cd /home/arjun/CM/repos/local/cache/9a697ef0096345d2
         ! call tmp-run.sh from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-os/run.sh
         ! call "postprocess" from /home/arjun/CM/repos/ctuning@mlcommons-ck/cm-mlops/script/detect-os/customize.py
    # Requested version: 15.0.6
    # Prepared package URL: https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz

Downloading from https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz ...
@arjunsuresh
Copy link
Contributor Author

Closing this issue for now as it is not easily reproducible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant