Skip to content

Commit

Permalink
Merge remote-tracking branch 'bfgroup.b2/release' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Mar 16, 2023
2 parents 9847463 + bea7399 commit 7ee3b0d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/installer_windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 René Ferdinand Rivera Morell
# Copyright 2022-2023 René Ferdinand Rivera Morell
# Use, modification, and distribution are subject to the
# Boost Software License, Version 1.0. (See accompanying file LICENSE.txt)

Expand Down Expand Up @@ -55,9 +55,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: installer
path: "${{github.workspace}}\\b2-pkg\\stage\\*.msi"
path: "${{github.workspace}}\\b2-pkg\\stage\\*.msi*"
- name: "Publish"
uses: softprops/action-gh-release@v1
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
with:
files: "${{github.workspace}}\\b2-pkg\\stage\\*.msi"
files: "${{github.workspace}}\\b2-pkg\\stage\\*.msi*"
5 changes: 5 additions & 0 deletions doc/src/history.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
[[b2.history]]
= History

== Version 4.9.6

* Fix version check for winsdk on `clang-win` toolset.
-- _Nikita Kniazev_

== Version 4.9.5

* Improve alternative match error message to include more context.
Expand Down
2 changes: 1 addition & 1 deletion src/engine/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ Distributed under the Boost Software License, Version 1.0.

#define VERSION_MAJOR 4
#define VERSION_MINOR 9
#define VERSION_PATCH 5
#define VERSION_PATCH 6
16 changes: 8 additions & 8 deletions src/tools/clang-win.jam
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ rule init ( version ? : command * : options * )

if $(match)
{
items += $(match[1]) ;
items += [ regex.replace $(match[1]) "\\\\+" "\\" ] ;
config = $(match[2]) ;
}
}
Expand All @@ -127,10 +127,10 @@ rule init ( version ? : command * : options * )

if $(items)
{
asm = [ regex.replace $(items[1]) "x64\\\\+link\\.exe" "x64\\ml64.exe" ] ;
asm = [ regex.replace $(asm) "x86\\\\+link\\.exe" "x86\\ml.exe" ] ;
asm = [ regex.replace $(asm) "arm64\\\\+link\\.exe" "arm64\\armasm64.exe" ] ;
asm = [ regex.replace $(asm) "arm\\\\+link\\.exe" "arm\\armasm.exe" ] ;
asm = [ regex.replace $(items[1]) "x64\\\\link\\.exe" "x64\\ml64.exe" ] ;
asm = [ regex.replace $(asm) "x86\\\\link\\.exe" "x86\\ml.exe" ] ;
asm = [ regex.replace $(asm) "arm64\\\\link\\.exe" "arm64\\armasm64.exe" ] ;
asm = [ regex.replace $(asm) "arm\\\\link\\.exe" "arm\\armasm.exe" ] ;

if ! [ MATCH "(ml\\.exe)" "(ml64\\.exe)" "(armasm64\\.exe)" "(armasm\\.exe)" : $(asm) ]
{
Expand All @@ -153,7 +153,7 @@ rule init ( version ? : command * : options * )

if $(items)
{
linker = [ regex.replace $(items[1]) "\\\\+HostX64\\\\+x86\\\\+" "\\HostX86\\x86\\" ] ;
linker = [ regex.replace $(items[1]) "\\\\HostX64\\\\x86\\\\" "\\HostX86\\x86\\" ] ;
}

.notice "$(arch)-$(addr):" "using linker '$(linker)'" ;
Expand All @@ -176,12 +176,12 @@ rule init ( version ? : command * : options * )

for local item in $(items)
{
match = [ MATCH "\"-libpath:(.*)\\\\+Lib\\\\(.*)\\\\um\\\\+x(.*)\"" : $(item) ] ;
match = [ MATCH "\"-libpath:(.*)\\\\Lib\\\\(.*)\\\\um\\\\x(.*)\"" : $(item) ] ;

if $(match)
{
local sdk-path = "$(match[1])\\bin\\$(match[2])\\x$(match[3])" ;
if [ version.version-less [ SPLIT_BY_CHARACTERS "$(match[2])" : . ] : 10 0 14393 ]
if ! [ path.exists $(sdk-path) ]
{
sdk-path = "$(match[1])\\bin\\x$(match[3])" ;
}
Expand Down

0 comments on commit 7ee3b0d

Please sign in to comment.