summaryrefslogtreecommitdiff
path: root/bin/taler-deployment
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-04-26 22:37:14 +0200
committerChristian Grothoff <christian@grothoff.org>2021-04-26 22:37:14 +0200
commit6938c14fc85d49487d0e4d943ed60c725d4fa89e (patch)
tree631ce449ffb37e0d3fb29249e3ae6db9cb1bf723 /bin/taler-deployment
parenta03db0e5f50e30ffb5c5326eff51d5161e5203c6 (diff)
downloaddeployment-6938c14fc85d49487d0e4d943ed60c725d4fa89e.tar.gz
deployment-6938c14fc85d49487d0e4d943ed60c725d4fa89e.tar.bz2
deployment-6938c14fc85d49487d0e4d943ed60c725d4fa89e.zip
also build anastasis
Diffstat (limited to 'bin/taler-deployment')
-rwxr-xr-xbin/taler-deployment34
1 files changed, 32 insertions, 2 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment
index db4927f..6ecb171 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -233,6 +233,24 @@ def build_sync(r, p):
(p / "taler-buildstamp").touch()
+def build_anastasis(r, p):
+ update_checkout(r, p)
+ subprocess.run(["./bootstrap"], check=True)
+ pfx = Path.home() / "local"
+ default_configure(
+ "CFLAGS=-ggdb -O0",
+ "--enable-logging=verbose",
+ f"--with-libgnurl={pfx}",
+ f"--with-microhttpd={pfx}",
+ f"--with-exchange={pfx}",
+ f"--with-merchant={pfx}",
+ f"--with-gnunet={pfx}",
+ "--disable-doc",
+ )
+ subprocess.run(["make", "install"], check=True)
+ (p / "taler-buildstamp").touch()
+
+
def build_bank(r, p):
update_checkout(r, p)
subprocess.run(["pip3", "install", "poetry"], check=True)
@@ -289,10 +307,22 @@ def get_repos(envname):
Repo(
"merchant",
"git://git.taler.net/merchant",
- ["exchange", "libmicrohttpd"],
+ ["exchange"],
build_merchant,
),
Repo(
+ "sync",
+ "git://git.taler.net/sync",
+ ["exchange", "merchant"],
+ build_sync,
+ ),
+ Repo(
+ "anastasis",
+ "git://git.taler.net/anastasis",
+ ["exchange", "merchant"],
+ build_anastasis,
+ ),
+ Repo(
"wallet-core",
"git://git.taler.net/wallet-core",
[],
@@ -340,7 +370,7 @@ def get_repos(envname):
"anastasis",
"git://git.taler.net/anastasis",
["exchange", "merchant"],
- build_sync,
+ build_anastasis,
),
Repo(
"bank",