Skip to content

Commit 815cc15

Browse files
committed
Use -maxcpucount:1 to fix debian build
As described in dotnet/sdk#2526. Otherwise, `dotnet publish` returns with exit status 1 during `make install`.
1 parent 8d64e5e commit 815cc15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export DOTNET_CLI_HOME := $(shell pwd)
1010
dh $@
1111

1212
override_dh_auto_install:
13-
dh_auto_install -- PREFIX=/usr
13+
dh_auto_install -- PREFIX=/usr PUBLISHFLAGS=-maxcpucount:1
1414

1515
override_dh_builddeb:
1616
dh_builddeb $(BUILDPACKAGE_OPTS)

server/JsDbg.Gdb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PYTHON_FILES=JsDbg.py ../JsDbg.Stdio/JsDbg{Base,Types}.py
1212

1313
all: bin/test_program
1414
cd ../JsDbg.Stdio && $(DOTNET) restore $(RESTOREFLAGS)
15-
cd ../JsDbg.Stdio && $(DOTNET) publish -c Release --no-restore -o $(PUBLISH)
15+
cd ../JsDbg.Stdio && $(DOTNET) publish -c Release --no-restore -o $(PUBLISH) $(PUBLISHFLAGS)
1616

1717
clean:
1818
rm -rf bin $(PUBLISH) $(PUBLISH_SC) ../JsDbg.{Core,Stdio,Stdio.Tests}/{bin,obj} jsdbg-gdb.tar.bz2 {.,../JsDbg.Stdio}/{*.pyc,__pycache__}

0 commit comments

Comments
 (0)