Commit f6dec7d6 authored by satmandu's avatar satmandu Committed by GitHub

Update cmake.rb (#5052)

parent 24a582d2
......@@ -3,23 +3,23 @@ require 'package'
class Cmake < Package
description 'CMake is an open-source, cross-platform family of tools designed to build, test and package software.'
homepage 'https://cmake.org/'
@_ver = '3.19.3'
@_ver = '3.19.4'
version @_ver
compatibility 'all'
source_url "https://github.com/Kitware/CMake/releases/download/v#{@_ver}/cmake-#{@_ver}.tar.gz"
source_sha256 '3faca7c131494a1e34d66e9f8972ff5369e48d419ea8ceaa3dc15b4c11367732'
source_sha256 '7d0232b9f1c57e8de81f38071ef8203e6820fe7eec8ae46a1df125d88dbcc2e1'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.3-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.19.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f7c3464b04d34ba0e80a9dc00c8a79c7755dfa1002530c9ed3eba52babacf85d',
armv7l: 'f7c3464b04d34ba0e80a9dc00c8a79c7755dfa1002530c9ed3eba52babacf85d',
i686: 'ee8e96b017d69a9235f65cc72b64451dfefe903a53455aceffacdabe3111f6da',
x86_64: '6d6f640ac421c0e93086368b829587a6439e555b6926b4ac337f381cbb65a8bf',
aarch64: '2fadd859e81c8db71411692c6cef4efbd53daa3c70b5d8739f7d15de290fdffb',
armv7l: '2fadd859e81c8db71411692c6cef4efbd53daa3c70b5d8739f7d15de290fdffb',
i686: '155a845f77398d932b257c1e1d88d88ddb9aadd3475a07dfef7254eec9ec1216',
x86_64: '378988eb97d00f0c8b57e1c2992a1a597c2ec640d58d0f16be9caab203fd69cc',
})
depends_on 'llvm' => :build
......@@ -31,7 +31,7 @@ class Cmake < Package
end
def self.build
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' LDFLAGS='-flto=auto' \
./bootstrap --prefix=#{CREW_PREFIX}"
system 'make'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment