Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,322
    • Issues 4,322
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 368
    • Merge Requests 368
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Merge Requests
  • !2351

Closed
Opened Dec 21, 2019 by Gabor Greif@ggreif💬Developer
  • Report abuse
Report abuse

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b "wip/xcode-dialog" "origin/wip/xcode-dialog"

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "master"
git merge --no-ff "wip/xcode-dialog"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Suppress popup dialog about missing Xcode at configure time

  • Overview 16
  • Commits 2
  • Pipelines 3
  • Changes 4

On macOS I get an annoying dialog when running configure on a machine that doesn't have Xcode installed (e.g. because it is new or it has all tools in /nix/store).

I think that configure shouldn't bring up any dialog. The new test consults xcode-select first, asking for the installation path, and only if that succeeds, it proceeds with querying xcodebuild. Both tools are present on a pristine system (actually xcodebuild bounces to xcode-select).

Now I get in the ./configure output

checking XCode version... not found (too old?)

on such an Xcode-less system, whereas previously there would be a mixed (with stderr) output like below

checking XCode version... xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
not found (too old?)

Note: I am looking for testers who have Xcode installed.

Edited Dec 24, 2019 by Gabor Greif
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
Reference: ghc/ghc!2351
Source branch: wip/xcode-dialog