turker
turker

Reputation: 9

How can I switch from clang11 to clang14 on freebsd?

hello on my server clang 11.0.1 version is installed but my project is compiled with clang14, when I write the command " pkg install clang14 " I get an error like clang14 not found.

please help me solve this problem, thank you.

enter image description here

I tried to download clang14 from llvm web page but I couldn't install it :(

Upvotes: -2

Views: 102

Answers (1)

Rob
Rob

Reputation: 15160

clang is part of llvm. There is no package for clang alone. Instead, install llvm14.

But you should first deinstall llvm11 if you no longer need it.

pkg delete llvm11

Upvotes: -1

Related Questions