Skip to content

Commit

Permalink
reduce platform-specific toolchains to ones we can handle right now
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicexplorer committed Mar 27, 2018
1 parent 05936fc commit d6dbe1f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/python/pants/backend/native/subsystems/native_toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ class NativeToolchain(Subsystem, ExecutionEnvironmentMixin):

PLATFORM_SPECIFIC_TOOLCHAINS = {
# TODO(cosmicexplorer): 'darwin' should have everything here, but there's no
# open-source linker for OSX...yet.
'darwin': [GCC, Clang],
'linux': [GCC, Binutils, Clang],
# open-source linker for OSX.
'darwin': [],
# TODO(cosmicexplorer): we can package clang for linux too, but we need to
# merge all these tools under a single prefix (shared bin/, lib/, etc). for
# now we can separately add gcc and binutils's bin/ dirs to separate
# components of the PATH, but this isn't a working solution.
'linux': [GCC, Binutils],
}

@classmethod
Expand Down

0 comments on commit d6dbe1f

Please sign in to comment.