John Colvin
3dfbc2635a
build: Set CMP0076 explicitly to remove warning
2022-02-04 17:41:29 -05:00
John Colvin
293fc233f7
Add git-save script to backup changed files
2022-02-04 17:41:29 -05:00
John Colvin
a99f95853a
refactor: Abstract out argparse/file utils from buildspark.py
2022-02-04 17:41:29 -05:00
John Colvin
7d7ccc67e0
build: Fix typo in buildspark.py
...
* Replace literal '2022' w/ var 'year'
2022-02-04 17:41:29 -05:00
John Colvin
9314911cc8
build (client): Activate venv in msbuild target
...
Now buildspark.py can run outside of venv
2022-01-23 15:25:32 -05:00
John Colvin
67dc07c4f5
build (client): Add cli opts to build cpp and/or csharp
2022-01-23 15:25:06 -05:00
John Colvin
40890f9ad2
build: Upgrade client build to vs 17 2022
...
If vs 17 2022 isn't installed, buildspark.py should still work for vs 16 2019
2022-01-23 13:17:46 -05:00
John Colvin
1b9ac61588
Add save-log script to backup log file
...
The current date and time is appended to the log file name
2022-01-22 12:46:52 -05:00
John Colvin
f0d86b92fb
build: Add target opt to build cmd
2021-12-29 13:18:46 -05:00
John Colvin
e3128c11a2
build: Copy (rather than symlink) .build_proxy to build
...
The sole purpose of the buildspark_redirect script is to workaround a bug in
the vscode c# extension. Unfortunately some buggy behavior persists when these
dirs are symlinked.
2021-12-29 00:50:09 -05:00
John Colvin
0c73900f57
build: Add --link-output-dir arg to buildspark.py
2021-12-21 11:50:54 -05:00
John Colvin
f66749ee25
buildspark.py exists with code 1 on exception
2021-12-21 11:50:54 -05:00
John Colvin
043a9ecb4a
Reword buildspark --output-dir help text
2021-12-21 11:50:54 -05:00
John Colvin
7819c1175a
Upgrade compiler to clang-10
2021-12-11 15:50:50 -05:00
John Colvin
beecbbeb61
Upgrade pip when creating python virtual environment
2021-12-09 11:40:50 -05:00
John Colvin
62bf1d069c
Fix build errors caused by big merge, externals upgrade
...
A lot of server-side changes were just merged as part of the Brandon
project (crypto). Many of those changes were in libspark (a lib on
which both the client and server depend), and upgrades to its external
dependencies. As a result, windows counterparts of several upgraded
external libs needed to be similarly upgraded (or added for the first
time). These libs include: boost, btree, catch, curl, fmt, nlohmann json,
openssl, range, rxcpp, websocketpp
This change also makes protobuf generation compatible with python3, and thus
eliminates the build's dependency on python2
2021-12-09 11:40:42 -05:00
John Colvin
75c0fee5bf
Merge remote-tracking branch 'origin/spark_crypto_base.server' into spark_crypto_base.client_server_merge
2021-11-22 19:57:53 -05:00
John Colvin
5c251f4126
build: Add cmd to workaround vscode c# extension bug
...
For some reason, the build fails when the output dir is referenced by the c#
extension in vscode. It produces errors saying various g.cs files (which are
generated for the spark csproj) could not be found. However, examining the
contents of the output directory after the build "fails" show that those files
exist, and are in the proper build subdirectory. Seems like a race.
2021-11-22 19:04:51 -05:00
John Colvin
c37ce8fab9
build (client, style): Fix typo in clean opt help text
2021-11-20 14:50:55 -05:00
John Colvin
1ac8ceebe1
build (client): Fwd args from buildspark.cmd to buildspark.py
2021-11-20 14:50:55 -05:00
John Colvin
8cc72e6c96
build (style): Add comment abt paths wrapped in quotes
2021-11-20 14:50:55 -05:00
John Colvin
90ecb3c016
build (client): Add toggle opt to run msbuild /t:restore
2021-11-20 14:50:23 -05:00
John Colvin
b3db213b1a
build (client): Remove pygit2 dependency
2021-11-20 14:48:32 -05:00
John Colvin
e389770e55
build (client): Don't choke on symlinked build dir
2021-11-20 14:48:32 -05:00
John Colvin
4d19101d01
build (client): Configure build with abs path to source dir
2021-11-20 14:48:32 -05:00
John Colvin
88d0f425d2
build (client): Add '--no' toggle to flag opts in buildspark.py
2021-11-20 14:48:32 -05:00
John Colvin
5a205304bb
build (client): Fix build for non-default out dirs
...
Was building libspark and Spark.csproj separately, using msbuild for the
former and dotnet build for the latter
2021-11-20 14:48:07 -05:00
John Colvin
eb86db3ef6
build (web): Symlink new node_module dirs in setup_builds
2021-11-19 16:30:58 -05:00
John Colvin
17642ca84b
build: Use dotnet build (instead of msbuild) for c# projects
...
Continue using msbuild for c++ (i.e., libspark)
2021-09-15 23:53:57 -04:00
John Colvin
78403a0baf
style: Format msbuild project files
2021-09-15 23:53:57 -04:00
John Colvin
939f44b48c
build: Refine build scripts so they work out of the box
...
* Automatically create python virtual envs
* Automatically actvate the vs dev prompt
Note: the python39 virtual env will remain active in the calling shell.
This behavior may be changed down the road.
2021-09-15 23:53:57 -04:00
John Colvin
48cd21aa46
build: Add option to cache branch builds
2021-09-06 18:34:27 -04:00
John Colvin
531fbb63be
build: Add buildspark.py (bc bat is a horrible language)
2021-09-06 18:27:32 -04:00
John Colvin
e2f7c2ef20
Update devcmd.cmd for vs 16 2019
2021-09-06 17:45:53 -04:00
John Colvin
5ad70b83d6
build: Add step to copy cpp libs to new client out dir
2021-09-06 17:40:58 -04:00
John Colvin
957daf5392
build: Upgrade client build to net5.0
2021-09-06 17:40:58 -04:00
John Colvin
578d6c8518
build: Update win compiler to Visual Studio 16 2019
2021-09-06 17:35:03 -04:00
John Colvin
799126f06a
Update build scripts to use vs 2019 build tools
2021-09-06 15:03:04 -04:00
Pedro Pinto
cde3f7900f
Fixed broken build scripts.
2021-02-10 08:50:06 -05:00
John Colvin
7bec8a103b
build: Change build path to 'build/<compiler>/<build_type>'
2021-02-09 16:33:12 -06:00
Pedro Pinto
2cffaa9d73
Refactored include path for spartan.
2021-01-30 15:11:46 -05:00
John Colvin
85afd6966c
add some docker scripts (start_docker.sh, docker_bash.sh)
2020-12-01 12:44:25 -06:00
Pedro Pinto
00f9c9ec2e
Fixed utility.
2020-10-09 10:31:11 -04:00
Pedro Pinto
c7b65ac062
Added simulator framework.
2020-09-18 14:22:14 -04:00
Pedro Pinto
6a4e06873b
Added diagnostics, fixed order priority insertion
2020-09-01 11:02:17 -04:00
Pedro Pinto
557b658146
Almost done.
2020-08-04 16:54:00 -04:00
Pedro Pinto
2a03eb323d
Initial tests run.
2020-07-21 12:08:27 -04:00
Pedro Pinto
7aadd38934
More refactoring.
2020-07-17 08:52:46 -04:00
Pedro Pinto
26bdef7ddd
Merged with master
2020-07-11 12:30:06 -04:00
Pedro Pinto
db0ffba8ed
Fixed windows build
2020-07-10 13:00:20 -04:00