Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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 GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Kaznacheev
GHC
Commits
a9bd5420
Commit
a9bd5420
authored
5 years ago
by
Gabor Greif
Committed by
Ben Gamari
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
while at it rename XCode to the official Xcode
(cherry picked from commit
1c302c62
)
parent
5f6b2636
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
aclocal.m4
+12
-12
12 additions, 12 deletions
aclocal.m4
compiler/main/SysTools/Info.hs
+3
-3
3 additions, 3 deletions
compiler/main/SysTools/Info.hs
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
docs/users_guide/codegens.rst
+1
-1
1 addition, 1 deletion
docs/users_guide/codegens.rst
with
17 additions
and
17 deletions
aclocal.m4
+
12
−
12
View file @
a9bd5420
...
...
@@ -2121,26 +2121,26 @@ AC_SUBST(LIBRARY_[]translit([$1], [-], [_])[]_VERSION)
# XCODE_VERSION()
# --------------------------------
# Gets the version number of X
C
ode, if on a Mac
# Gets the version number of X
c
ode, if on a Mac
AC_DEFUN([XCODE_VERSION],[
if test "$TargetVendor_CPP" = "apple"
then
AC_MSG_CHECKING(X
C
ode version)
X
C
odeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
# Old X
C
ode versions don't actually give the X
C
ode version
if test "$X
C
odeVersion" = ""
AC_MSG_CHECKING(X
c
ode version)
X
c
odeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
# Old X
c
ode versions don't actually give the X
c
ode version
if test "$X
c
odeVersion" = ""
then
AC_MSG_RESULT(not found (too old?))
X
C
odeVersion1=0
X
C
odeVersion2=0
X
c
odeVersion1=0
X
c
odeVersion2=0
else
AC_MSG_RESULT($X
C
odeVersion)
X
C
odeVersion1=`echo "$X
C
odeVersion" | sed 's/\..*//'`
AC_MSG_RESULT($X
c
odeVersion)
X
c
odeVersion1=`echo "$X
c
odeVersion" | sed 's/\..*//'`
changequote(, )dnl
X
C
odeVersion2=`echo "$X
C
odeVersion" | sed 's/[^.]*\.\([^.]*\).*/\1/'`
X
c
odeVersion2=`echo "$X
c
odeVersion" | sed 's/[^.]*\.\([^.]*\).*/\1/'`
changequote([, ])dnl
AC_MSG_NOTICE(X
C
ode version component 1: $X
C
odeVersion1)
AC_MSG_NOTICE(X
C
ode version component 2: $X
C
odeVersion2)
AC_MSG_NOTICE(X
c
ode version component 1: $X
c
odeVersion1)
AC_MSG_NOTICE(X
c
ode version component 2: $X
c
odeVersion2)
fi
fi
])
...
...
This diff is collapsed.
Click to expand it.
compiler/main/SysTools/Info.hs
+
3
−
3
View file @
a9bd5420
...
...
@@ -231,13 +231,13 @@ getCompilerInfo' dflags = do
-- FreeBSD clang
|
any
(
"FreeBSD clang version"
`
isInfixOf
`)
stde
=
return
Clang
-- X
C
ode 5.1 clang
-- X
c
ode 5.1 clang
|
any
(
"Apple LLVM version 5.1"
`
isPrefixOf
`)
stde
=
return
AppleClang51
-- X
C
ode 5 clang
-- X
c
ode 5 clang
|
any
(
"Apple LLVM version"
`
isPrefixOf
`)
stde
=
return
AppleClang
-- X
C
ode 4.1 clang
-- X
c
ode 4.1 clang
|
any
(
"Apple clang version"
`
isPrefixOf
`)
stde
=
return
AppleClang
-- Unknown linker.
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
a9bd5420
...
...
@@ -586,7 +586,7 @@ AC_SUBST([NmCmd])
if test "$TargetOS_CPP" = "darwin"
then
AC_MSG_CHECKING(whether nm program is broken)
# Some versions of X
C
ode ship a broken version of `nm`. Detect and work
# Some versions of X
c
ode ship a broken version of `nm`. Detect and work
# around this issue. See : https://gitlab.haskell.org/ghc/ghc/issues/11744
nmver=$(${NM} --version | grep version | sed 's/ //g')
case "$nmver" in
...
...
This diff is collapsed.
Click to expand it.
docs/users_guide/codegens.rst
+
1
−
1
View file @
a9bd5420
...
...
@@ -58,7 +58,7 @@ To install LLVM and Clang:
- *Linux*: Use your package management tool.
- *Mac OS X*: Clang is included by default on recent OS X machines when
X
C
ode is installed (from 10.6 and later). LLVM is not included.
X
c
ode is installed (from 10.6 and later). LLVM is not included.
In order to use the LLVM based code generator, you should install the
`Homebrew <http://mxcl.github.com/homebrew/>`__ package manager for
OS X. Alternatively you can download binaries for LLVM and Clang from
...
...
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