excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / arm-performance-libraries.rb
blobe27e55f4456af2a2807232bfef849631b0cfa73f
1 cask "arm-performance-libraries" do
2   version "24.10"
3   install_suffix="#{version}_flang-new_clang_19"
4   sha256 "04e794409867e6042ed0f487bbaf47cc6edd527dc6ddad67160f1dba83906969"
6   url "https://developer.arm.com/-/cdn-downloads/permalink/Arm-Performance-Libraries/Version_#{version}/arm-performance-libraries_#{version}_macOS.tgz"
7   name "Arm Performance Libraries"
8   desc "Optimized standard core math libraries for Arm processors"
9   homepage "https://developer.arm.com/downloads/-/arm-performance-libraries"
11   livecheck do
12     url :homepage
13     regex(/Version[._-]v?(\d+(?:\.\d+)+)/i)
14   end
16   depends_on arch: :arm64
18   installer script: {
19     executable: "armpl_#{install_suffix}_install.sh",
20     args:       ["-y"],
21     sudo:       true,
22   }
24   uninstall delete: [
25               "/opt/arm/arm-performance-libraries_#{install_suffix}",
26               "/opt/arm/armpl_#{install_suffix}",
27             ],
28             rmdir:  "/opt/arm"
30   # No zap stanza required
32   caveats do
33     license "https://developer.arm.com/documentation/109686/latest"
34     "You may need to source /opt/arm/armpl_#{install_suffix}/armpl_env_vars.sh in order to use these libraries."
35   end
36 end