Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,334
Issues
4,334
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
369
Merge Requests
369
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8d76bcc2
Commit
8d76bcc2
authored
Dec 22, 2019
by
Gabor Greif
💬
Committed by
Marge Bot
Dec 27, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
while at it rename XCode to the official Xcode
parent
0c51aeeb
Pipeline
#14026
failed with stages
in 395 minutes and 34 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
aclocal.m4
aclocal.m4
+12
-12
compiler/main/SysTools/Info.hs
compiler/main/SysTools/Info.hs
+3
-3
configure.ac
configure.ac
+1
-1
docs/users_guide/codegens.rst
docs/users_guide/codegens.rst
+1
-1
No files found.
aclocal.m4
View file @
8d76bcc2
...
@@ -2121,26 +2121,26 @@ AC_SUBST(LIBRARY_[]translit([$1], [-], [_])[]_VERSION)
...
@@ -2121,26 +2121,26 @@ AC_SUBST(LIBRARY_[]translit([$1], [-], [_])[]_VERSION)
# XCODE_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],[
AC_DEFUN([XCODE_VERSION],[
if test "$TargetVendor_CPP" = "apple"
if test "$TargetVendor_CPP" = "apple"
then
then
AC_MSG_CHECKING(X
C
ode version)
AC_MSG_CHECKING(X
c
ode version)
X
C
odeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
X
c
odeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
# Old X
Code versions don't actually give the XC
ode version
# Old X
code versions don't actually give the Xc
ode version
if test "$X
C
odeVersion" = ""
if test "$X
c
odeVersion" = ""
then
then
AC_MSG_RESULT(not found (too old?))
AC_MSG_RESULT(not found (too old?))
X
C
odeVersion1=0
X
c
odeVersion1=0
X
C
odeVersion2=0
X
c
odeVersion2=0
else
else
AC_MSG_RESULT($X
C
odeVersion)
AC_MSG_RESULT($X
c
odeVersion)
X
CodeVersion1=`echo "$XC
odeVersion" | sed 's/\..*//'`
X
codeVersion1=`echo "$Xc
odeVersion" | sed 's/\..*//'`
changequote(, )dnl
changequote(, )dnl
X
CodeVersion2=`echo "$XC
odeVersion" | sed 's/[^.]*\.\([^.]*\).*/\1/'`
X
codeVersion2=`echo "$Xc
odeVersion" | sed 's/[^.]*\.\([^.]*\).*/\1/'`
changequote([, ])dnl
changequote([, ])dnl
AC_MSG_NOTICE(X
Code version component 1: $XC
odeVersion1)
AC_MSG_NOTICE(X
code version component 1: $Xc
odeVersion1)
AC_MSG_NOTICE(X
Code version component 2: $XC
odeVersion2)
AC_MSG_NOTICE(X
code version component 2: $Xc
odeVersion2)
fi
fi
fi
fi
])
])
...
...
compiler/main/SysTools/Info.hs
View file @
8d76bcc2
...
@@ -231,13 +231,13 @@ getCompilerInfo' dflags = do
...
@@ -231,13 +231,13 @@ getCompilerInfo' dflags = do
-- FreeBSD clang
-- FreeBSD clang
|
any
(
"FreeBSD clang version"
`
isInfixOf
`)
stde
=
|
any
(
"FreeBSD clang version"
`
isInfixOf
`)
stde
=
return
Clang
return
Clang
-- X
C
ode 5.1 clang
-- X
c
ode 5.1 clang
|
any
(
"Apple LLVM version 5.1"
`
isPrefixOf
`)
stde
=
|
any
(
"Apple LLVM version 5.1"
`
isPrefixOf
`)
stde
=
return
AppleClang51
return
AppleClang51
-- X
C
ode 5 clang
-- X
c
ode 5 clang
|
any
(
"Apple LLVM version"
`
isPrefixOf
`)
stde
=
|
any
(
"Apple LLVM version"
`
isPrefixOf
`)
stde
=
return
AppleClang
return
AppleClang
-- X
C
ode 4.1 clang
-- X
c
ode 4.1 clang
|
any
(
"Apple clang version"
`
isPrefixOf
`)
stde
=
|
any
(
"Apple clang version"
`
isPrefixOf
`)
stde
=
return
AppleClang
return
AppleClang
-- Unknown linker.
-- Unknown linker.
...
...
configure.ac
View file @
8d76bcc2
...
@@ -586,7 +586,7 @@ AC_SUBST([NmCmd])
...
@@ -586,7 +586,7 @@ AC_SUBST([NmCmd])
if test "$TargetOS_CPP" = "darwin"
if test "$TargetOS_CPP" = "darwin"
then
then
AC_MSG_CHECKING(whether nm program is broken)
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
# around this issue. See : https://gitlab.haskell.org/ghc/ghc/issues/11744
nmver=$(${NM} --version | grep version | sed 's/ //g')
nmver=$(${NM} --version | grep version | sed 's/ //g')
case "$nmver" in
case "$nmver" in
...
...
docs/users_guide/codegens.rst
View file @
8d76bcc2
...
@@ -58,7 +58,7 @@ To install LLVM and Clang:
...
@@ -58,7 +58,7 @@ To install LLVM and Clang:
- *Linux*: Use your package management tool.
- *Linux*: Use your package management tool.
- *Mac OS X*: Clang is included by default on recent OS X machines when
- *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
In order to use the LLVM based code generator, you should install the
`Homebrew <http://mxcl.github.com/homebrew/>`__ package manager for
`Homebrew <http://mxcl.github.com/homebrew/>`__ package manager for
OS X. Alternatively you can download binaries for LLVM and Clang from
OS X. Alternatively you can download binaries for LLVM and Clang from
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!2351 (closed)
·
Dec 27, 2019
mentioned in merge request
!2351 (closed)
mentioned in merge request !2351
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment