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
Boost appveyor build #9574
Boost appveyor build #9574
Conversation
appveyor.yml
Outdated
@@ -33,9 +33,8 @@ build_script: | |||
- cd "%APPVEYOR_BUILD_FOLDER%"\scintilla\win32 | |||
- if "%configuration%"=="Unicode Debug" set scintilla_debug=DEBUG=1 | |||
- if "%configuration%"=="Unicode Release" set scintilla_debug= | |||
- if "%archi%" NEQ "" nmake SUPPORT_XP=1 %scintilla_debug% -f scintilla.mak | |||
- if "%archi%" NEQ "" nmake SUPPORT_XP=1 %scintilla_debug% BOOSTPATH=C:\Libraries\boost_1_69_0\ BOOSTREGEXLIBPATH=C:\Libraries\boost_1_69_0\lib32-msvc-14.1\ -f scintilla.mak |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you need to download the boost first. Maybe, use a package from NuGet or some other package manager?
Also, it could be checked out from git repo and built. However, that might slowdown AppVeyor build significantly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't. Everything is pre-installed. I'm trying to find out where exactly right now ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will not slow down the Appveyor build.
What I found out yet:
- The Appveyor doc is correct. For MS2017, only boost 1.69 is available
- Boost 1.69 works for the 32-bit version.
Next:
- Make it work for the 64-bit version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test 3 revealed, that Boost 1.70 is not available for MS VC 2017.
Edit: Test 3 was crap. Bad parameters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SUPPORT_XP=1
is not necessary anymore.
OK, after Test 4 I know, that Boost 1.70 is really not available. |
@Uhf7 You could see the installed boost images for appveyor here: To my knowledge that are just the sourcecode versions of boost. So just header only components could be used directly. Regex is not of that kind and need to be build, see e.g. https://www.nuget.org/packages/boost_regex-vc141/ for a nuget package. You could install boost from https://dl.bintray.com/boostorg/release/1.75.0/binaries/ for windows. You could have a look at https://github.com/sergey-shandar/getboost/pull/59/files how to achieve that for appveyor. |
@chcg, |
Maybe, it is about time to upgrade Notepad++ to be built with MSVC 2019. |
There were some changes: |
too many lines in that, I cannot read it today, and, honestly, I'm not going to read it tomorrow. If you have a certain point in this list, which is important to you, please name it. The question here is, do we believe, that a 1.69 regex boosted version of SciLexer.dll will allow users to test certain issues closer to reality than with a not-boosted SciLexer.dll version. I believe, that version 1.69 is good enough... And, of course, @mere-human, if there would be an administrative decision to use MS VC 2019 from now on, then we could use the 1.73 version of boost regex with no Appveyor constraints. |
Curious, that history says nothing about the regex part of the library -- does that mean there were no changes from 1.69 to 1.70? Hmm, looking back a few links 1_69_0, 1_68_0, 1_67_0, no mention of regex there either. I guess I don't know how to read Boost history docs correctly?
My secret: I've NEVER had MSVC 2017; always used MSVC 2019 on N++...with the slight inconvenience doing that causes.
I tend to agree. |
sorry for complaining about the long list, this is of course the thing which should be checked. Today, it looks much shorter and it seems indeed not to contain anything about regex. I compared the regex source code of versions 1.69 and 1.70 too, there is no more difference than a new |
Unfortunately, Notepad ++ still lacks regex tests, it would be a lot easier with them. Function List test passed on this version? Better this than nothing. |
Now that @donho has joined this thread... The last time this kind of thing came up, Don mentioned he would "look into static linking" of Scintilla and thus by inference Boost. |
Yes, all tests passed with new ScinLexer.dll v4.4.6.
We can add regex test via Function List by using different user defined language.
Yes sure. I will check it after releasing of next version.
It's on my radar. |
So the summary is, now that this is accepted, that future appveyor builds of SciLexer will contain Boost 1.69.
|
Currently in Appveyor build, we download SciLixer.dll from the latest release for Unit tests (of function list especially). In PR notepad-plus-plus#9574 the boost is included in Appveyor build. In this PR: - Remove the download last release part from Appveyor script and use the generated SciLexer.dll - Remove SUPPORT_XP from the script Fix notepad-plus-plus#9581, close notepad-plus-plus#9591
Currently in Appveyor build, we download SciLixer.dll from the latest release for Unit tests (of function list especially). In PR #9574 the boost is included in Appveyor build. In this PR: - Remove the download last release part from Appveyor script and use the generated SciLexer.dll - Remove SUPPORT_XP from the script Fix #9581, close #9591
Make boost regex available in Appveyor builds.
There are unnecessary differences between Appveyor builds and Notepad++ release builds:
This PR intents to overcome this problem.
Edit 2: Since Appveyor has no 1.70 version of boost installed for the current compiler MS VC 2017, I used boost 1.69 here. I believe, that this is better than no boost at all.