Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-project
Commits
d61dfc39
Commit
d61dfc39
authored
2 years ago
by
Aline Gondim Santos
Browse files
Options
Downloads
Patches
Plain Diff
windows build: remove toolset option and update VSNASM and VSYASM
Change-Id: I23faac23c0a520283caaaea73b30313b551ab54a
parent
14a328b8
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
build.py
+1
-5
1 addition, 5 deletions
build.py
scripts/build-windows.py
+1
-4
1 addition, 4 deletions
scripts/build-windows.py
scripts/install-deps-windows.ps1
+2
-2
2 additions, 2 deletions
scripts/install-deps-windows.ps1
with
4 additions
and
11 deletions
build.py
+
1
−
5
View file @
d61dfc39
...
@@ -22,8 +22,7 @@ ANDROID_DISTRIBUTION_NAME = "android"
...
@@ -22,8 +22,7 @@ ANDROID_DISTRIBUTION_NAME = "android"
WIN32_DISTRIBUTION_NAME
=
"
win32
"
WIN32_DISTRIBUTION_NAME
=
"
win32
"
# vs vars
# vs vars
win_sdk_default
=
'
10.0.16299.0
'
win_sdk_default
=
'
10.0.18362.0
'
win_toolset_default
=
'
142
'
APT_BASED_DISTROS
=
[
APT_BASED_DISTROS
=
[
'
debian
'
,
'
debian
'
,
...
@@ -373,7 +372,6 @@ def run_install(args):
...
@@ -373,7 +372,6 @@ def run_install(args):
return
subprocess
.
run
([
return
subprocess
.
run
([
sys
.
executable
,
os
.
path
.
join
(
sys
.
executable
,
os
.
path
.
join
(
os
.
getcwd
(),
"
scripts/build-windows.py
"
),
os
.
getcwd
(),
"
scripts/build-windows.py
"
),
"
--toolset
"
,
args
.
toolset
,
"
--sdk
"
,
args
.
sdk
"
--sdk
"
,
args
.
sdk
],
check
=
True
)
],
check
=
True
)
...
@@ -638,8 +636,6 @@ def parse_args():
...
@@ -638,8 +636,6 @@ def parse_args():
dist
=
choose_distribution
()
dist
=
choose_distribution
()
if
dist
==
WIN32_DISTRIBUTION_NAME
:
if
dist
==
WIN32_DISTRIBUTION_NAME
:
ap
.
add_argument
(
'
--toolset
'
,
default
=
win_toolset_default
,
type
=
str
,
help
=
'
Windows use only, specify Visual Studio toolset version
'
)
ap
.
add_argument
(
'
--sdk
'
,
default
=
win_sdk_default
,
type
=
str
,
ap
.
add_argument
(
'
--sdk
'
,
default
=
win_sdk_default
,
type
=
str
,
help
=
'
Windows use only, specify Windows SDK version
'
)
help
=
'
Windows use only, specify Windows SDK version
'
)
...
...
This diff is collapsed.
Click to expand it.
scripts/build-windows.py
+
1
−
4
View file @
d61dfc39
...
@@ -17,8 +17,7 @@ def execute_cmd(cmd, with_shell=False):
...
@@ -17,8 +17,7 @@ def execute_cmd(cmd, with_shell=False):
def
build_daemon
(
parsed_args
):
def
build_daemon
(
parsed_args
):
make_cmd
=
os
.
path
.
dirname
(
this_dir
)
+
'
\\
daemon
\\
compat
\\
msvc
\\
winmake.py
'
make_cmd
=
os
.
path
.
dirname
(
this_dir
)
+
'
\\
daemon
\\
compat
\\
msvc
\\
winmake.py
'
os
.
chdir
(
os
.
path
.
dirname
(
this_dir
)
+
'
\\
daemon
\\
compat
\\
msvc
'
)
os
.
chdir
(
os
.
path
.
dirname
(
this_dir
)
+
'
\\
daemon
\\
compat
\\
msvc
'
)
execute_cmd
(
'
python
'
+
make_cmd
+
'
-iv -t
'
+
execute_cmd
(
'
python
'
+
make_cmd
+
'
-iv -s
'
+
parsed_args
.
sdk
+
'
-b daemon
'
)
parsed_args
.
toolset
+
'
-s
'
+
parsed_args
.
sdk
+
'
-b daemon
'
)
os
.
chdir
(
os
.
path
.
dirname
(
this_dir
))
os
.
chdir
(
os
.
path
.
dirname
(
this_dir
))
...
@@ -31,8 +30,6 @@ def build_client(parsed_args):
...
@@ -31,8 +30,6 @@ def build_client(parsed_args):
def
parse_args
():
def
parse_args
():
ap
=
argparse
.
ArgumentParser
(
description
=
"
Qt Client build tool
"
)
ap
=
argparse
.
ArgumentParser
(
description
=
"
Qt Client build tool
"
)
ap
.
add_argument
(
'
--toolset
'
,
default
=
''
,
type
=
str
,
help
=
'
Windows use only, specify Visual Studio toolset version
'
)
ap
.
add_argument
(
'
--sdk
'
,
default
=
''
,
type
=
str
,
ap
.
add_argument
(
'
--sdk
'
,
default
=
''
,
type
=
str
,
help
=
'
Windows use only, specify Windows SDK version
'
)
help
=
'
Windows use only, specify Windows SDK version
'
)
...
...
This diff is collapsed.
Click to expand it.
scripts/install-deps-windows.ps1
+
2
−
2
View file @
d61dfc39
...
@@ -198,13 +198,13 @@ install_choco_packages $choco_packages
...
@@ -198,13 +198,13 @@ install_choco_packages $choco_packages
install_msys2_packages
$msys_packages
install_msys2_packages
$msys_packages
# Install VSNASM
# Install VSNASM
download_file_to_temp
'VSNASM'
"https://github.com/ShiftMediaProject/VSNASM/releases/download/0.
5
/VSNASM.zip"
'VSNASM.zip'
download_file_to_temp
'VSNASM'
"https://github.com/ShiftMediaProject/VSNASM/releases/download/0.
8
/VSNASM.zip"
'VSNASM.zip'
unzip_file_from_temp
'VSNASM'
'VSNASM.zip'
'VSNASM_UNZIP'
unzip_file_from_temp
'VSNASM'
'VSNASM.zip'
'VSNASM_UNZIP'
$batch_path
=
"/c set ISINSTANCE=1 &&"
+
$
env
:
TEMP
+
"\VSNASM_UNZIP\install_script.bat"
$batch_path
=
"/c set ISINSTANCE=1 &&"
+
$
env
:
TEMP
+
"\VSNASM_UNZIP\install_script.bat"
run_batch
$batch_path
"Install VSNASM"
run_batch
$batch_path
"Install VSNASM"
# Install VSYASM
# Install VSYASM
download_file_to_temp
'VSYASM'
"https://github.com/ShiftMediaProject/VSYASM/releases/download/0.
4
/VSYASM.zip"
'VSYASM.zip'
download_file_to_temp
'VSYASM'
"https://github.com/ShiftMediaProject/VSYASM/releases/download/0.
7
/VSYASM.zip"
'VSYASM.zip'
unzip_file_from_temp
'VSYASM'
'VSYASM.zip'
'VSYASM_UNZIP'
unzip_file_from_temp
'VSYASM'
'VSYASM.zip'
'VSYASM_UNZIP'
$batch_path
=
"/c set ISINSTANCE=1 &&"
+
$
env
:
TEMP
+
"\VSYASM_UNZIP\install_script.bat"
$batch_path
=
"/c set ISINSTANCE=1 &&"
+
$
env
:
TEMP
+
"\VSYASM_UNZIP\install_script.bat"
run_batch
$batch_path
"Install VSYASM"
run_batch
$batch_path
"Install VSYASM"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment