- 30 Apr, 2017 2 commits
-
-
stijn authored
Make qstr generation depend on modifications in mpconfigport.h, mpconfig.h and makeqstrdata.py and if any of those change scan all source files for qstrs again since they might have changed (for example typcially when enabling new features in mpconfig.h). This fixes #2982 for msvc builds.
-
stijn authored
It is not used anywhere and causes a warning about redefinition because it is used in modutimeq.c
-
- 21 Apr, 2017 1 commit
-
-
stijn authored
Add definitions/source files for features which work on the windows ports but weren't yet enabled. UTIME related lines are moved a couple of lines up to make comparision with unix/mpconfigport.h easier in the future.
-
- 23 Mar, 2017 1 commit
-
-
stijn authored
This assures after cleaning all build artefacts (qstr related files, generated version header) have been removed.
-
- 02 Mar, 2017 1 commit
-
- 03 Nov, 2016 1 commit
-
-
stijn authored
-
- 25 Jun, 2016 1 commit
-
- 15 Jun, 2016 1 commit
-
-
Paul Sokolovsky authored
It has more usages than just qstr extraction, for example, embedding (where people don't care about efficient predefined qstrs).
-
- 08 May, 2016 1 commit
-
-
stijn authored
This will launch about as many compiler instances as there are logical processors on a machine, and as such significantly speeds up compilation.
-
- 25 Apr, 2016 1 commit
-
-
stijn authored
Builds have been broken since reworking autogeneration in c618f91e and related, this gets fixed here by applying similar qstr generation logic for the msvc builds: c files are only preprocessed when changed (or not yet preprocessed) and the concatenated output is fed into makeqstrdefs.py. To speed up this process, the concatenated output is already filtered to contain only lines which makeqstrdefs really needs: this makes the qstr generation stage about twice as fast (checked on different machines).
-
- 16 Apr, 2016 1 commit
-
-
stijn authored
Note this still needs some work: currently all source files are always preprocessed no matter which one actually changed, moreover that happens file by file without any parallellism so builds are painstakingly slow.
-
- 26 Jan, 2016 1 commit
-
-
Damien George authored
-
- 18 Dec, 2015 1 commit
-
- 14 Dec, 2015 1 commit
-
-
stijn authored
-
- 11 Dec, 2015 1 commit
-
-
stijn authored
This allows multiple versions (e.g. Debug/Release, x86/x64) of micropython.exe to co-exist instead and also solves potential problems where msbuild does not completely rebuild the output and/or pdb files when switching between builds, which in turn can cause linker errors in dependent projects. By default exe/map/... files go in windows/build/$(Configuration)$(Platform) After each build micropython.exe is still copied from the above directory to the windows directory though, as that is consistent with the other ports and the test runner by default uses that location as well. Also rename env.props -> path.props which is a clearer name, and add ample documentation in the affected build files. (also see discussion in #1538)
-
- 10 Nov, 2015 1 commit
-
-
stijn authored
This defaults to 'python' but can be now overridden if needed
-
- 25 Oct, 2015 1 commit
-
-
stijn authored
Fixes issues like #1532
-
- 22 Sep, 2015 1 commit
-
-
stijn authored
-
- 14 Aug, 2015 1 commit
-
-
stijn authored
- add SEEK_XXX definitions, this fixes missing definition in py/stream.c - move R_OK from realpath.c and add W_OK/F_OK defintions - move STDXXX_FILENO definitions from mpconfigport for consistency
-
- 04 Jun, 2015 1 commit
-
-
stijn authored
-
- 17 May, 2015 1 commit
-
-
stijn authored
This allows using (almost) the same code for printing floats everywhere, removes the dependency on sprintf and uses just snprintf and applies an msvc-specific fix for snprintf in a single place so nan/inf are now printed correctly.
-
- 28 Apr, 2015 1 commit
-
-
Damien George authored
Also rename py-version.h to mpversion.h for consistency with mpconfig.h.
-
- 22 Apr, 2015 1 commit
-
-
stijn authored
-
- 16 Apr, 2015 1 commit
-
-
Damien George authored
Some files are excluded, otherwise a whole lot of files need converting.
-
- 02 Jan, 2015 2 commits
-
-
stijn authored
Remove some duplication in the code for generating qstrdefs.generated.h and py-version.h
-
stijn authored
- Use a single file env.props for defining the main directories used when building. env.props resolves the base directory and defines overridable output directories, and is used by all other build files. - Fix the build currently failing, basically because the preprocessing command for generating qstrdefs uses different include directories than the build itself does. (specifically, qstrdefs.h uses #include "py/mpconfig.h" since the fixes for #1022 in 51dfcb4b, so we need to use the base directory as include directory, not the py dir itself). So define a single variable containing the include directories instead and use it where needed.
-
- 01 Jan, 2015 2 commits
-
-
Damien George authored
-
stijn authored
-
- 22 Sep, 2014 1 commit
-
-
stijn authored
-
- 02 Sep, 2014 1 commit
-
-
stijn authored
-
- 22 Jun, 2014 1 commit
-
-
stijn authored
The pointers to the bss section are acquired in init.c() by inspecting the PE header. Works for msvc and mingw.
-
- 28 May, 2014 1 commit
-
-
stijn authored
This fixes generating the headers casuing complete rebuilds, even when the headere's content didn't really change.
-
- 09 May, 2014 1 commit
-
-
stijn authored
-
- 08 May, 2014 1 commit
-
-
stijn authored
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
-