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
8b27b84b
Commit
8b27b84b
authored
7 years ago
by
Buck Evan
Committed by
Buck Evan (bukzor)
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix clang build version on Ubuntu Artful
Ported from
https://github.com/Linuxbrew/brew/pull/621
parent
3cd5ae86
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/development_tools.rb
+1
-1
1 addition, 1 deletion
Library/Homebrew/development_tools.rb
Library/Homebrew/system_config.rb
+12
-1
12 additions, 1 deletion
Library/Homebrew/system_config.rb
with
13 additions
and
2 deletions
Library/Homebrew/development_tools.rb
+
1
−
1
View file @
8b27b84b
...
...
@@ -74,7 +74,7 @@ class DevelopmentTools
def
clang_build_version
@clang_build_version
||=
begin
if
(
path
=
locate
(
"clang"
))
&&
build_version
=
`
#{
path
}
--version`
[
/
clang
-
(\d{2,})
/
,
1
]
build_version
=
`
#{
path
}
--version`
[
%r{
clang
(-| version [^ ]+
\(
tags/RELEASE_)
(
\d
{2,})
}
,
2
]
Version
.
new
build_version
else
Version
::
NULL
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/system_config.rb
+
12
−
1
View file @
8b27b84b
...
...
@@ -210,7 +210,18 @@ class SystemConfig
f
.
puts
"Homebrew Ruby:
#{
describe_homebrew_ruby
}
"
f
.
puts
"GCC-4.0: build
#{
gcc_4_0
}
"
unless
gcc_4_0
.
null?
f
.
puts
"GCC-4.2: build
#{
gcc_4_2
}
"
unless
gcc_4_2
.
null?
f
.
puts
"Clang:
#{
clang
.
null?
?
"N/A"
:
"
#{
clang
}
build
#{
clang_build
}
"
}
"
f
.
print
"Clang: "
if
clang
.
null?
f
.
print
"N/A"
else
f
.
print
"
#{
clang
}
build "
if
clang_build
.
null?
f
.
print
"(parse error)"
else
f
.
print
clang_build
end
end
f
.
print
"
\n
"
f
.
puts
"Git:
#{
describe_git
}
"
f
.
puts
"Curl:
#{
describe_curl
}
"
f
.
puts
"Perl:
#{
describe_perl
}
"
...
...
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