Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
9ba8d5ed
Commit
9ba8d5ed
authored
14 years ago
by
Adam Vandenberg
Browse files
Options
Downloads
Patches
Plain Diff
Move dump_build_env to utils and use during installs too.
parent
38d969ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Library/Homebrew/install.rb
+1
-3
1 addition, 3 deletions
Library/Homebrew/install.rb
Library/Homebrew/utils.rb
+9
-0
9 additions, 0 deletions
Library/Homebrew/utils.rb
bin/brew
+0
-9
0 additions, 9 deletions
bin/brew
with
10 additions
and
12 deletions
Library/Homebrew/install.rb
+
1
−
3
View file @
9ba8d5ed
...
...
@@ -66,9 +66,7 @@ def install f
if
ARGV
.
verbose?
ohai
"Build Environment"
%w[PATH CFLAGS LDFLAGS CPPFLAGS MAKEFLAGS CC CXX MACOSX_DEPLOYMENT_TARGET PKG_CONFIG_PATH]
.
each
do
|
env
|
puts
"
#{
env
}
:
#{
ENV
[
env
]
}
"
unless
ENV
[
env
].
to_s
.
empty?
end
dump_build_env
ENV
end
build_time
=
nil
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/utils.rb
+
9
−
0
View file @
9ba8d5ed
...
...
@@ -213,3 +213,12 @@ def nostdout
end
end
end
def
dump_build_env
env
puts
"
\"
--use-llvm
\"
was specified"
if
ARGV
.
include?
'--use-llvm'
%w[CC CXX LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS MACOSX_DEPLOYMENT_TARGET MAKEFLAGS PATH PKG_CONFIG_PATH HOMEBREW_USE_LLVM]
.
each
do
|
k
|
value
=
env
[
k
]
puts
"
#{
k
}
:
#{
value
}
"
if
value
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
bin/brew
+
0
−
9
View file @
9ba8d5ed
...
...
@@ -69,15 +69,6 @@ PATH: #{ENV['PATH']}
EOS
end
def
dump_build_env
env
puts
"
\"
--use-llvm
\"
was specified"
if
ARGV
.
include?
'--use-llvm'
%w[CC CXX LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS MAKEFLAGS PATH PKG_CONFIG_PATH HOMEBREW_USE_LLVM]
.
each
do
|
k
|
value
=
env
[
k
]
puts
"
#{
k
}
:
#{
value
}
"
if
value
end
end
begin
require
'brew.h'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment