Skip to content

Mingw link issue#3

Open
dmoody256 wants to merge 60 commits into
more_coveragefrom
mingw_link_issue
Open

Mingw link issue#3
dmoody256 wants to merge 60 commits into
more_coveragefrom
mingw_link_issue

Conversation

@dmoody256
Copy link
Copy Markdown
Owner

Remove this paragraph

Please have a look at our developer documentation before submitting your Pull Request.

https://scons.org/guidelines.html

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated master/src/CHANGES.txt directory (and read the README.txt in that directory)
  • I have updated the appropriate documentation

bdbaddog and others added 13 commits January 1, 2019 13:15
…er, and updated mingw to remove MSVC like nologo flag
Apply the patch (adjusted) from issue SCons#2341: instead of hardcoding
the filename extenstion for the tempfile to help with linking
on Windows targets, allow some variability.

Current marked WIP because there are some other comments in
the issue tracker that can maybe be flushed out by submitting
this PR, and there are no tests (should presumably go in
test/TEMPFILEPREFIX.py, or a new test TEMPFILEEXTENSION.py)

Signed-off-by: Mats Wichmann <mats@linux.com>
All the other file extension variables end in SUFFIX, so change
this new one to match for consistency.  Added doc entry.

Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
Per review comments, subst either return the right thing or None,
use this are the way to test for setting default instead of has_key.

Signed-off-by: Mats Wichmann <mats@linux.com>
Testing "if not prefix" would return false if an empty string
is passed, but that setting should be valid.

Signed-off-by: Mats Wichmann <mats@linux.com>
… whitespaces correctly

for example "#if(defined FOO)" or "#elif!(BAR)"
customizable tempfile extension (issue SCons#2431)
Enhance cpp scanner regex logic to detect if/elif expressions without whitespaces
mwichmann and others added 10 commits January 19, 2019 11:02
An earlier change updated some examples, this makes some tweaks to
the wording as well for Default, DEFAULT_TARGETS, etc. to clarify.

Signed-off-by: Mats Wichmann <mats@linux.com>
Later Pythons (3.6+) enable warnings by default (needed a command
line option before then), so some tools give off warnings now.
This change quiets the warnings from the gcc, g++ and swig tools.

Signed-off-by: Mats Wichmann <mats@linux.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 27, 2019

Codecov Report

Merging #3 into more_coverage will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@                Coverage Diff                @@
##           more_coverage       #3      +/-   ##
=================================================
+ Coverage          87.77%   87.77%   +<.01%     
=================================================
  Files                187      187              
  Lines              24279    24283       +4     
=================================================
+ Hits               21310    21315       +5     
+ Misses              2969     2968       -1
Impacted Files Coverage Δ
src/engine/SCons/Tool/link.py 83.98% <100%> (+0.64%) ⬆️
src/engine/SCons/Tool/mingw.py 96.59% <100%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43e2b06...c2dc898. Read the comment docs.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 27, 2019

Codecov Report

Merging #3 into more_coverage will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@                Coverage Diff                @@
##           more_coverage       #3      +/-   ##
=================================================
+ Coverage          87.77%   87.77%   +<.01%     
=================================================
  Files                187      187              
  Lines              24279    24282       +3     
=================================================
+ Hits               21310    21313       +3     
  Misses              2969     2969
Impacted Files Coverage Δ
src/engine/SCons/Tool/link.py 83.49% <100%> (+0.16%) ⬆️
src/engine/SCons/Tool/mingw.py 96.55% <100%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d1a177...dd340d5. Read the comment docs.

dmoody256 and others added 16 commits February 4, 2019 12:04
Doc file had large sections in not very readable format, with
lots of tags on single line, etc.  Ran through a formatting
tool and did some manual fixups.

Signed-off-by: Mats Wichmann <mats@linux.com>
…stalled

fix for case where nothing is returned from vswhere
The three generated doc files, builders.gen, tools,gen
and variables.gen are added to stay in sync with the
msvs.xml change.

Signed-off-by: Mats Wichmann <mats@linux.com>
In doc/SConscript, the function in bootstrap.py to parse a
manifest was called with an scons path (#src/engine) but bootstrap
does not run in an scons context, it is run via subprocess.Popen.
Preprocess the path. Along the way, change the function to open
the file itself instead of being passed a list already read
from the file, update the comment, and clean some whitespace issues.

Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
Fix problem where API doc gen misses some files
Add arm targets to doc for MSVS_ARCH
dmoody256 pushed a commit that referenced this pull request May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants