mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Verbosely notify of additional buildsystems options being used. (#8444)
This commit is contained in:
committed by
GitHub
parent
37c960c445
commit
aba531884b
@@ -11,6 +11,7 @@ class CMake < Package
|
||||
end
|
||||
|
||||
def self.build
|
||||
puts "Additional cmake_options being used: #{@cmake_options}".orange
|
||||
@crew_cmake_options = no_lto ? CREW_CMAKE_FNO_LTO_OPTIONS : CREW_CMAKE_OPTIONS
|
||||
system "cmake -B builddir -G Ninja #{@crew_cmake_options} #{@cmake_options}"
|
||||
system "#{CREW_NINJA} -C builddir"
|
||||
|
||||
@@ -11,6 +11,7 @@ class Meson < Package
|
||||
end
|
||||
|
||||
def self.build
|
||||
puts "Additional meson_options being used: #{@meson_options}".orange
|
||||
@crew_meson_options = no_lto ? CREW_MESON_FNO_LTO_OPTIONS : CREW_MESON_OPTIONS
|
||||
system "meson #{@crew_meson_options} #{@meson_options} builddir"
|
||||
system 'meson configure builddir'
|
||||
|
||||
@@ -2,7 +2,7 @@ require 'fileutils'
|
||||
|
||||
# Defines common constants used in different parts of crew
|
||||
|
||||
CREW_VERSION = '1.34.6'
|
||||
CREW_VERSION = '1.34.7'
|
||||
|
||||
# kernel architecture
|
||||
KERN_ARCH = `uname -m`.chomp
|
||||
|
||||
Reference in New Issue
Block a user