Boost/Change the method for analysis version (#12676)
* boost:Change the method for analysis version when using Fujitsu compiler. * Change version to apply patch for Fujitsu. * fix typo
This commit is contained in:
parent
9e1800d81c
commit
ae41ef9146
@ -0,0 +1,11 @@
|
||||
--- boost_1_70_0/tools/build/src/tools/clang-linux.jam.back 2019-08-29 17:02:15.285225280 +0900
|
||||
+++ boost_1_70_0/tools/build/src/tools/clang-linux.jam 2019-08-29 17:02:33.627143178 +0900
|
||||
@@ -52,7 +52,7 @@
|
||||
if $(command) {
|
||||
local command-string = \"$(command)\" ;
|
||||
command-string = $(command-string:J=" ") ;
|
||||
- version ?= [ MATCH "version ([0-9.]+)"
|
||||
+ version ?= [ MATCH "Compiler ([0-9.]+)"
|
||||
: [ SHELL "$(command-string) --version" ] ] ;
|
||||
}
|
||||
|
@ -186,6 +186,9 @@ class Boost(Package):
|
||||
patch('system-non-virtual-dtor-test.patch', when='@1.69.0',
|
||||
working_dir='libs/system', level=1)
|
||||
|
||||
# Change the method for version analysis when using Fujitsu compiler.
|
||||
patch('fujitsu_version_analysis.patch', when='@1.67.0:%fj')
|
||||
|
||||
def url_for_version(self, version):
|
||||
if version >= Version('1.63.0'):
|
||||
url = "https://dl.bintray.com/boostorg/release/{0}/source/boost_{1}.tar.bz2"
|
||||
|
Loading…
Reference in New Issue
Block a user