Verbosely notify of additional buildsystems options being used. (#8444)

This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2023-06-27 00:35:59 -04:00
committed by GitHub
parent 37c960c445
commit aba531884b
3 changed files with 3 additions and 1 deletions

View File

@@ -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"

View File

@@ -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'

View File

@@ -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