How to get clang-format 14 on osx? - homebrew

~/ brew upgrade clang-format
Warning: clang-format 11.0.1 already installed
Seems clang-format only versions upto 11 is supported on osx 10.15.7. However, we can see 14 already supported on ubuntu or debian, ref https://apt.llvm.org/
So how to install version 14 on osx?

LLVM (and by extension clang-format) 14 is in a development branch and hasn't released yet. You would have to compile clang from source to actually get it. And even then it would be an incomplete possibly broken version since it's a development branch.

Related

i have been trying to install new man on my mac but i'm not able to generate html reports in my mac i'm getting the below error

npm install -g newman
npm WARN deprecated har-validator#5.1.5: this library is no longer supported
npm WARN deprecated uuid#3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid#3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
i have been trying to install new man on my mac but i'm not able to generate html reports in my mac i'm getting the above error

Why Cygwin has old Clang (v8)?

Are there any special reasons why Cygwin Clang is so outdated (see here), version 8, while already version 13 exists?
For example Ubuntu (apt), MSYS2, MSVC all have version 12.
Also does anyone know (any links?) if there is any very simple way (like docker-based) to build recent Clang for Cygwin? Maybe Clang has no support for Cygwin anymore, that's why Cygwin has outdated version?
See:
https://cygwin.com/packages/summary/clang.html
The reason is very simple, there is no current maintainer.
The previous one has no more available time to dedicate to the project.

Change Dart VM version

I want to use the stable release of the sdk, which should be 2.2.0, but when I in the console check the version with the command "dart --version", it says I am running "Dart VM version: 2.1.0".
I have tried to upgrade via choco, and it says that I already have 2.2.0 installed.
Do I have multiple versions av Dart installed and can switch between them?
If so, can I set a default version?
I'll just mark this as answered with the comment of jamsdlin, as it was the correct answer for me.
When you run dart, you'll run whichever dart binary is found first in your search PATH. You have multiple versions installed. Uninstall the old version or modify PATH so that the location for 2.2.0 occurs first.

Brew install qt does not work on macOS Sierra

I upgraded my mac to Sierra and I can't install qt. I wrote "brew install qt" and I received the message below. Do you have any recommendations?
"This formula either does not compile or function as expected on macOS
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build."
if you really need qt4, you can try
brew install cartr/qt4/qt
I was able to sucessfully work around this on a fresh install of Sierra this evening.
It looks like qt.rb will execute just fine on MacOS Sierra, you just need to remove the Maximum OS requirement entry to allow it to run.
This is what was required on my machine.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb
Comment out line 36 as follows
#depends_on MaximumMacOSRequirement => :el_capitan
I am curious if this works for others.
Thanks
Searching with
brew search qt
you can see there is a QT5
brew install qt5
According to https://github.com/Homebrew/homebrew-core/issues/1957#issuecomment-225806023 there will be no support for qt(4)
Qt4 is not supported anymore; users should upgrade to Qt5. Homebrew backported a fix for 10.11 but doesn’t intend to maintain this forever. There’s currently a pull-request that may fix that. You’ll have to wait for it to be merged if you want to install Qt4 with Homebrew.
install qt4
Please note: Qt4 is unsupported by its creators, so there are likely security/usability problems with it that will never be resolved. If you can, please consider migrating your projects to Qt5.
resource : https://github.com/cartr/homebrew-qt4
brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt

EMC Solution Enabler

I would like to install EMC Solution Enabler on RHEL 7.1 and 86_64.
Please advice which version is supported with this configuration.
Note: I want to have this software because I would like to use 'syminq' command to get storage information in the host.
Thanks
Doesn't look like its supported on RHEL 7.1 . The latest seems to be RedHat Enterprise Linux 6.0/6.2 , as per the below latest release document :
http://uk.emc.com/collateral/TechnicalDocument/docu61129.pdf
It mentions that Solutions Enabler V8.1 installation requires i686 version of
glibc (GNU C Library) and libgcc (Library of GCC support routines) packages pre-installed. If your RHEL 7.1 host doesn't have the those , it also mentions of a work around. Hopefully it should work for RHEL 7.1 too.

Resources