Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 674
    • Issues 674
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !608

Adding detection of gcc to sysconfig_pypy (fixes #2809)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge bitbucket/merged-pr-608 into branch/py3.5 Apr 27, 2018
  • Overview 12
  • Commits 5
  • Pipelines 0
  • Changes 3

Created originally on Bitbucket by Yusuke Tsutsumi

Was already merged in Bitbucket before import, marked as merged by the import user

Here's a starter PR for a fix around #2809 (closed).

This ensures that sysconfig.get_config_var("CC") returns a proper cc executable, and also does some naive detection of GCC as well.

By doing so, it ensures that the right compiler arguments are chosen on linux architectures.

This is a fairly minimal attempt, and does not solve for other compilers and arguments like g++.

It looks like there is a module that attempts much more extensive population of config vars at:

https://bitbucket.org/pypy/pypy/src/19216449b3437aa8e60c742c1c22dc4f9d9dcd5d/lib-python/3/distutils/sysconfig_pypy.py?at=py3.5&fileviewer=file-view-default#sysconfig_pypy.py-64

But I don't have a lot of context on the history.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bitbucket/merged-pr-608