-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add method for individual tools to search for windows install paths which aren't in SCons' defaults + changes to get more tests to pass on windows and/or appveyor #3052
Conversation
… to allow tools to search for normal SCOns paths, and then specify alternative default install paths for such tools. This should resolve clang failing on appveyor on windows
mingw binaries can also be installed in cygwins paths such as:
So maybe add those to the list of default paths to find mingw binaries. |
…ome appveyor failures.
Apparently clang also requires a msvc or msvs tool configured, or also perhaps mingw so that it can find header files via INCLUDE shell environment variable. So my fixes in this patch for clang are not sufficient. |
For clang include path initialization look at : https://github.com/llvm-mirror/clang/blob/master/lib/Driver/ToolChains/MSVC.cpp |
There is a Mircosoft implementation of clang which takes MSVC compiler style flags (forward slash) which is different than the mingw clang which is like gcc style flags (dash). Sent from my Galaxy Note5 using FastHub |
Any idea how to detect which is which?
…On Wed, Feb 14, 2018 at 3:02 PM, Daniel Moody ***@***.***> wrote:
There is a Mircosoft implementation of clang which takes MSVC compiler
style flags (forward slash) which is different than the mingw clang which
is like bcc style flags (dash).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3052 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFBNHhKhe1_Sar49mj-r0cs50YmB-yXks5tUzvNgaJpZM4RiYWv>
.
|
The MSVC one is named clang-cl, more info here: |
Looks like clang-cl would still need all the environment variables set by
using msvs or msvc tool in scons to function.
…-Bill
On Wed, Feb 14, 2018 at 5:16 PM, Daniel Moody ***@***.***> wrote:
The MSVC one is named clang-cl, more info here:
https://clang.llvm.org/docs/UsersManual.html#clang-cl
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3052 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFBNG4wjf4qVafCGkhgnwHaw9zipY5Yks5tU1tXgaJpZM4RiYWv>
.
|
Yeah, did you see the PR I did on this branch in your fork?
…On Feb 18, 2018 8:19 PM, "William Deegan" ***@***.***> wrote:
Looks like clang-cl would still need all the environment variables set by
using msvs or msvc tool in scons to function.
-Bill
On Wed, Feb 14, 2018 at 5:16 PM, Daniel Moody ***@***.***>
wrote:
> The MSVC one is named clang-cl, more info here:
> https://clang.llvm.org/docs/UsersManual.html#clang-cl
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#3052 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AAFBNG4wjf4qVafCGkhgnwHaw9zipY5Yks5tU1tXgaJpZM4RiYWv>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3052 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF2YzDtXNZoBzO6wI2vlWmgvhMJfjclKks5tWMwMgaJpZM4RiYWv>
.
|
Didn't see it until now.
Ugh.. Github doesn't make you automatically watch your on repos?
Anyway see comments there..
On Sun, Feb 18, 2018 at 9:06 PM, Daniel Moody <notifications@github.com>
wrote:
… Yeah, did you see the PR I did on this branch in your fork?
On Feb 18, 2018 8:19 PM, "William Deegan" ***@***.***>
wrote:
> Looks like clang-cl would still need all the environment variables set by
> using msvs or msvc tool in scons to function.
>
> -Bill
>
> On Wed, Feb 14, 2018 at 5:16 PM, Daniel Moody ***@***.***>
> wrote:
>
> > The MSVC one is named clang-cl, more info here:
> > https://clang.llvm.org/docs/UsersManual.html#clang-cl
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <#3052 (comment)>, or
> mute
> > the thread
> > <https://github.com/notifications/unsubscribe-auth/
> AAFBNG4wjf4qVafCGkhgnwHaw9zipY5Yks5tU1tXgaJpZM4RiYWv>
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#3052 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AF2YzDtXNZoBzO6wI2vlWmgvhMJfjclKks5tWMwMgaJpZM4RiYWv>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3052 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFBNGh-dkyJwrbKAK5fMTfhvDOuKpcfks5tWNcZgaJpZM4RiYWv>
.
|
2509ddd
to
8fc1a32
Compare
…ol specifically and know when to skip on windows.
…ed path for appveyor script
Opened bdbaddog#2 for this branch in your repo @bdbaddog |
… find other possible default mingw install paths. mingw is needed in many cases on windows to compile/archive.
…build on windows.
…thod-for-individual-tools-to-search-for-windows
Pr 3052 fix repository tests
…g-config-test-for-windows
…windows update pkg-config test to work on windows
…l-tools-to-search-for-windows fixing swig tool and tests for windows
… runtest.py was run with instead of blindly searching for python vis test.where_is(). This fixes an issue where the swig tests work fine with py3.6 but not with py2.7 on a win64 box with both installed, runtest launched via py -2 runtest.py ...
Merging. |
Add method for individual tools to search for windows install paths which aren't in SCons' defaults.
found in normal SCons PATH. If the user specifies PATH or tool specific paths they
will be used and the default paths below will be ignored.
Contributor Checklist:
master/src/CHANGES.txt
directory (and read theREADME.txt
in that directory)