Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- #!/bin/bash
-
- set +e
- set -o pipefail
-
- update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-12 40 | tee /tmp/.switch-to-clang.stdout
- update-alternatives --install /usr/bin/cc cc /usr/bin/clang-12 40 | tee -a /tmp/.switch-to-clang.stdout
- update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-12 40 | tee -a /tmp/.switch-to-clang.stdout
- update-alternatives --install /usr/bin/clang clang /usr/bin/clang-12 40 | tee -a /tmp/.switch-to-clang.stdout
- update-alternatives --install /usr/bin/ld ld /usr/bin/ld.lld-12 40 | tee -a /tmp/.switch-to-clang.stdout
-
- echo compiler set to: $(readlink /etc/alternatives/c++)
|