From 901ff00f07304c6e60904724d67e36f806919c54 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 09:31:27 +0200 Subject: [PATCH 001/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7cd6ac13..46397923 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -10,22 +10,28 @@ pool: vmImage: 'ubuntu-20.04' steps: -- script: | - sed -i 's/STORJVERSION/$(STORJ_VERSION)/' storj_uplink_second.i - displayName: 'Inject the Storj-Version' - -- script: | - git clone --branch $(STORJ_VERSION) https://github.com/storj/uplink-c.git - displayName: 'Clone uplink-c $(STORJ_VERSION)' - -- script: | - cp *.i uplink-c - cp *.go uplink-c - displayName: 'Copy specific files to uplink-c' +- task: DownloadPipelineArtifact@2 + inputs: + buildType: 'specific' + project: '9ac1e3a1-e687-4aa6-ab2b-0108d21425e2' + definition: '31' + specificBuildWithTriggering: true + buildVersionToDownload: 'latest' + itemPattern: | + ** + !*.cs + !*.dll + !win-x86-dll + !win-x64-dll + !Csharp-files + targetPath: '$(System.DefaultWorkingDirectory)' + displayName: 'Get build-artifacts' - script: | - swig -csharp -namespace uplink.SWIG uplink-c/storj_uplink_first.i - displayName: 'Run SWIG to generate a c-file necessary for the DLL' + ls + ls uplink-c + mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c + displayName: 'Prepare for Target ARM' - task: GoTool@0 inputs: From 467df75acff3dd7aa19589a23aef6c621b4d9346 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:22:15 +0200 Subject: [PATCH 002/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 46397923..831f1537 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -38,6 +38,11 @@ steps: version: '$(GOLANG_VERSION)' displayName: 'Install Go $(GOLANG_VERSION)' +- script: | + go get golang.org/dl/go1.17beta1 + go1.17beta1 version + displayName: 'Run SWIG to generate a c-file necessary for the DLL' + - script: | sudo apt-get update sudo apt-get install gcc-arm-none-eabi From 3e23bd42c8229b16c1134e2c81ab8c270023f12c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:25:04 +0200 Subject: [PATCH 003/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 831f1537..49f37a8e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -40,7 +40,7 @@ steps: - script: | go get golang.org/dl/go1.17beta1 - go1.17beta1 version + $HOME/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | @@ -57,5 +57,5 @@ steps: export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" - go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + $HOME/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From 803048ec5f7a91256190ec4e40091a0dcae3ef71 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:28:16 +0200 Subject: [PATCH 004/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 49f37a8e..a69e1cd2 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -40,7 +40,8 @@ steps: - script: | go get golang.org/dl/go1.17beta1 - $HOME/go/bin/go1.17beta1 version + where go1.17beta1 + /usr/local/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | @@ -57,5 +58,5 @@ steps: export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" - $HOME/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + /usr/local/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From a713cce815ba6beaf0b2cdd4e2ee42dccec083d0 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:30:21 +0200 Subject: [PATCH 005/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a69e1cd2..cfaea779 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,9 +39,11 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | + ls go get golang.org/dl/go1.17beta1 - where go1.17beta1 - /usr/local/go/bin/go1.17beta1 version + ls + $GOPATH + $GOPATH/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | @@ -58,5 +60,5 @@ steps: export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" - /usr/local/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + $GOPATH/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From 68ba5ffee05709547ebb6166413234c546e2a770 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:34:25 +0200 Subject: [PATCH 006/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cfaea779..93c870d0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -40,8 +40,9 @@ steps: - script: | ls - go get golang.org/dl/go1.17beta1 + go get -v golang.org/dl/go1.17beta1 ls + go env $GOPATH $GOPATH/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' From 0f0330d58b283f45d12332fbf605fe5d4c41bde9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:44:05 +0200 Subject: [PATCH 007/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 93c870d0..1631b0fd 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -43,8 +43,8 @@ steps: go get -v golang.org/dl/go1.17beta1 ls go env - $GOPATH - $GOPATH/go/bin/go1.17beta1 version + ls /home/vsts/go + /home/vsts/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | @@ -61,5 +61,5 @@ steps: export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" - $GOPATH/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + /home/vsts/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From 2af4ec5ba3a8c3cc351902c48d4a5b8725402475 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:48:07 +0200 Subject: [PATCH 008/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1631b0fd..f277a42d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -43,6 +43,8 @@ steps: go get -v golang.org/dl/go1.17beta1 ls go env + go help gopath + which go ls /home/vsts/go /home/vsts/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' From 925f4320206663ce68ea776f51f898a739185cd1 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:51:08 +0200 Subject: [PATCH 009/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f277a42d..7e272227 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,13 +39,8 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - ls go get -v golang.org/dl/go1.17beta1 - ls - go env - go help gopath - which go - ls /home/vsts/go + /home/vsts/go/bin/go1.17beta1 download /home/vsts/go/bin/go1.17beta1 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' From 2eaa82354805610bdcb908cab7b1073ebe0879e7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 11 Jun 2021 11:54:35 +0200 Subject: [PATCH 010/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7e272227..84995e0d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -55,7 +55,7 @@ steps: export CC="arm-none-eabi-gcc" export CXX="arm-none-eabi-g++" export GOOS="windows" - export GOARCH="arm" + export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared From 7c00ae108e7ec236b488fcea35e1cb59f3aa6a64 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 08:35:19 +0200 Subject: [PATCH 011/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 84995e0d..acbf74e0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,9 +39,9 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - go get -v golang.org/dl/go1.17beta1 - /home/vsts/go/bin/go1.17beta1 download - /home/vsts/go/bin/go1.17beta1 version + go get -v golang.org/dl/go1.17rc2 + /home/vsts/go/bin/go1.17rc2 download + /home/vsts/go/bin/go1.17rc2 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | @@ -58,5 +58,5 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17beta1 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From 161d721d28c4a0462ef1b1f2b34f739c7b9f1142 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 08:43:47 +0200 Subject: [PATCH 012/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index acbf74e0..862e1d87 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,8 +52,8 @@ steps: - script: | cd uplink-c - export CC="arm-none-eabi-gcc" - export CXX="arm-none-eabi-g++" + export CC="arm-linux-eabi-gcc" + export CXX="arm-linux-eabi-g++" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From dab1d18832ac8d21128f76a5e6abf2eff5d2d71a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 08:51:13 +0200 Subject: [PATCH 013/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 862e1d87..fb4744e0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -46,14 +46,14 @@ steps: - script: | sudo apt-get update - sudo apt-get install gcc-arm-none-eabi + sudo apt-get install g++-arm-linux-gnueabi cd /usr/bin displayName: 'Install cross compiler for Windows' - script: | cd uplink-c - export CC="arm-linux-eabi-gcc" - export CXX="arm-linux-eabi-g++" + export CC="gcc-arm-linux-gnueabi" + export CXX="g++-arm-linux-gnueabi" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From e993f822e6cb0184fc052db056bd8bc35681c0d8 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 08:55:56 +0200 Subject: [PATCH 014/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index fb4744e0..79029e82 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -47,6 +47,7 @@ steps: - script: | sudo apt-get update sudo apt-get install g++-arm-linux-gnueabi + sudo apt-get install gcc-arm* cd /usr/bin displayName: 'Install cross compiler for Windows' From ba772ec9559fcc409d244726ea11bb74d63f5d97 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 08:59:23 +0200 Subject: [PATCH 015/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 79029e82..49024b3a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -48,6 +48,7 @@ steps: sudo apt-get update sudo apt-get install g++-arm-linux-gnueabi sudo apt-get install gcc-arm* + sudo apt-get install ia32-libs cd /usr/bin displayName: 'Install cross compiler for Windows' From 6a76a9b450f844a6d9b11368589c58faae001ee8 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 20:25:20 +0200 Subject: [PATCH 016/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 49024b3a..217b5516 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -46,9 +46,10 @@ steps: - script: | sudo apt-get update - sudo apt-get install g++-arm-linux-gnueabi - sudo apt-get install gcc-arm* - sudo apt-get install ia32-libs + snap install zig --classic --beta + #sudo apt-get install g++-arm-linux-gnueabi + #sudo apt-get install gcc-arm* + #sudo apt-get install ia32-libs cd /usr/bin displayName: 'Install cross compiler for Windows' From fcecf423df2c3dbbecd6a548edc401c21d3a04dc Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 20:40:07 +0200 Subject: [PATCH 017/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 217b5516..301a3760 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -47,6 +47,7 @@ steps: - script: | sudo apt-get update snap install zig --classic --beta + zig version #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs From 338bd7f4c8111326fbce68b641c351fe562cba37 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 20:43:21 +0200 Subject: [PATCH 018/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 301a3760..ecf3e750 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -46,7 +46,7 @@ steps: - script: | sudo apt-get update - snap install zig --classic --beta + sudo snap install zig --classic --beta zig version #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* From fee67a0e0475dbb3032327143e93ac96ddfefb35 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 20:50:35 +0200 Subject: [PATCH 019/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ecf3e750..65095c3f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -48,6 +48,7 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version + zig targets #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -56,11 +57,11 @@ steps: - script: | cd uplink-c - export CC="gcc-arm-linux-gnueabi" - export CXX="g++-arm-linux-gnueabi" + export CC="zig cc -target aarch64-windows" + export CXX="zig c++ -target aarch64-windows" export GOOS="windows" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared --tags extended displayName: 'Test-Generate Win-ARM' From d443fc66dbf4be6c645aa45ef44decf7250e2a28 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 20:56:38 +0200 Subject: [PATCH 020/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 65095c3f..cf0a6205 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -57,11 +57,11 @@ steps: - script: | cd uplink-c - export CC="zig cc -target aarch64-windows" - export CXX="zig c++ -target aarch64-windows" + export CC="zig cc -target aarch64-windows-gnu" + export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared --tags extended + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From c103c8e12126ccb800c1b21e449833022ef44960 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:08:30 +0200 Subject: [PATCH 021/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cf0a6205..02ac1056 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -49,6 +49,9 @@ steps: sudo snap install zig --classic --beta zig version zig targets + echo "#!/bin/sh zig cc $@" >> zcc.sh + echo "test" + zcc.sh version #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs From cf9f7f9d72e50267771bac730c9347f15eb1f2f3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:11:22 +0200 Subject: [PATCH 022/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 02ac1056..88433320 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -51,7 +51,7 @@ steps: zig targets echo "#!/bin/sh zig cc $@" >> zcc.sh echo "test" - zcc.sh version + bash zcc.sh version #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -60,7 +60,7 @@ steps: - script: | cd uplink-c - export CC="zig cc -target aarch64-windows-gnu" + export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" export GOARCH="arm64" From dfbf5a1c36f2f2eb4d5151415391ab9a95f575b4 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:20:38 +0200 Subject: [PATCH 023/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 88433320..febcf90a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -44,6 +44,7 @@ steps: /home/vsts/go/bin/go1.17rc2 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' + - script: | sudo apt-get update sudo snap install zig --classic --beta @@ -52,6 +53,7 @@ steps: echo "#!/bin/sh zig cc $@" >> zcc.sh echo "test" bash zcc.sh version + echto "test done" #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -66,5 +68,5 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + /home/vsts/go/bin/go1.17rc2 build --tags extended -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared displayName: 'Test-Generate Win-ARM' From f87368a2a31e284729e03b0786746be72fb25a5b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:23:39 +0200 Subject: [PATCH 024/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index febcf90a..0073bfb0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -49,11 +49,10 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version - zig targets echo "#!/bin/sh zig cc $@" >> zcc.sh echo "test" - bash zcc.sh version - echto "test done" + sh zcc.sh "version" + echo "test done" #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -62,7 +61,7 @@ steps: - script: | cd uplink-c - export CC="zcc -target aarch64-windows-gnu" + export CC="zig cc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" export GOARCH="arm64" From 03aba8a616a68c78cc9f8b3df16ca542c560d107 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:28:40 +0200 Subject: [PATCH 025/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0073bfb0..6b2a4ce8 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -61,10 +61,10 @@ steps: - script: | cd uplink-c - export CC="zig cc -target aarch64-windows-gnu" - export CXX="zig c++ -target aarch64-windows-gnu" - export GOOS="windows" - export GOARCH="arm64" + export CC="zig cc -target x86_64-linux" + export CXX="zig c++ -target x86_64-linux" + export GOOS="linux" + export GOARCH="amd64" export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build --tags extended -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared From a78741da1e2766615e0cd944c24227b8aac5f7db Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:28:59 +0200 Subject: [PATCH 026/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 6b2a4ce8..22a35a7a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,5 +67,5 @@ steps: export GOARCH="amd64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build --tags extended -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared --tags extended displayName: 'Test-Generate Win-ARM' From cbe0859ca3ddd9c0cdea5be6d9d1093166df4b54 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:33:13 +0200 Subject: [PATCH 027/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 22a35a7a..7e308b6a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -61,11 +61,11 @@ steps: - script: | cd uplink-c - export CC="zig cc -target x86_64-linux" - export CXX="zig c++ -target x86_64-linux" - export GOOS="linux" - export GOARCH="amd64" + export CC="zig cc -target aarch64-windows-gnu" + export CXX="zig c++ -target aarch64-windows-gnu" + export GOOS="windows" + export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared --tags extended + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended displayName: 'Test-Generate Win-ARM' From 6de282498551b13800761f5b9ae4efd8f9aa0e90 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:35:40 +0200 Subject: [PATCH 028/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7e308b6a..d77bb614 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -51,7 +51,10 @@ steps: zig version echo "#!/bin/sh zig cc $@" >> zcc.sh echo "test" + chmod +x zcc.sh sh zcc.sh "version" + echo "test two" + bash zcc.sh "version" echo "test done" #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* @@ -61,7 +64,7 @@ steps: - script: | cd uplink-c - export CC="zig cc -target aarch64-windows-gnu" + export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" export GOARCH="arm64" From 08e661b90fee188f0fab63faf458df6f03940fe9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:37:52 +0200 Subject: [PATCH 029/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d77bb614..5d3c2055 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -55,6 +55,7 @@ steps: sh zcc.sh "version" echo "test two" bash zcc.sh "version" + bash zcc2.sh "version" echo "test done" #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* @@ -64,6 +65,10 @@ steps: - script: | cd uplink-c + echo "#!/bin/sh zig cc $@" >> zcc.sh + echo "test" + chmod +x zcc.sh + sh zcc.sh "version" export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" From c1d64f0b2b420a3b275f69b536b79cd6fb7dbb99 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:40:22 +0200 Subject: [PATCH 030/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5d3c2055..41471d15 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -49,14 +49,10 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version + echo $PATH echo "#!/bin/sh zig cc $@" >> zcc.sh echo "test" chmod +x zcc.sh - sh zcc.sh "version" - echo "test two" - bash zcc.sh "version" - bash zcc2.sh "version" - echo "test done" #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -65,10 +61,6 @@ steps: - script: | cd uplink-c - echo "#!/bin/sh zig cc $@" >> zcc.sh - echo "test" - chmod +x zcc.sh - sh zcc.sh "version" export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" From 74955e00781beefc1c71bb3bb1e179b020a6970e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:42:36 +0200 Subject: [PATCH 031/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 41471d15..8d2e3e6e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -50,9 +50,9 @@ steps: sudo snap install zig --classic --beta zig version echo $PATH - echo "#!/bin/sh zig cc $@" >> zcc.sh + echo "#!/bin/sh zig cc $@" >> /snap/bin/zcc.sh echo "test" - chmod +x zcc.sh + chmod +x /snap/bin/zcc.sh #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs From 015c5b20d986b9c6067bbfe87e7d1f8863d48396 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 3 Aug 2021 21:44:09 +0200 Subject: [PATCH 032/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8d2e3e6e..21f01fc5 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -50,9 +50,9 @@ steps: sudo snap install zig --classic --beta zig version echo $PATH - echo "#!/bin/sh zig cc $@" >> /snap/bin/zcc.sh + sudo echo "#!/bin/sh zig cc $@" >> /snap/bin/zcc.sh echo "test" - chmod +x /snap/bin/zcc.sh + sudo chmod +x /snap/bin/zcc.sh #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs From 46242748a887a0a270e3673b533d21f510bc1756 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 10:46:16 +0200 Subject: [PATCH 033/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 21f01fc5..fac2bbea 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -61,7 +61,7 @@ steps: - script: | cd uplink-c - export CC="zcc -target aarch64-windows-gnu" + export CC="zig cc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" export GOARCH="arm64" From 059d5a9e97a45c76dc581d67fbc3820507860045 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 10:54:59 +0200 Subject: [PATCH 034/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index fac2bbea..7f034a5d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,5 +67,5 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended + /home/vsts/go/bin/go1.17rc2 build -tags extended displayName: 'Test-Generate Win-ARM' From 7f56a13c5b897312cae88cf55b357a0712939eba Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 10:57:38 +0200 Subject: [PATCH 035/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7f034a5d..fac2bbea 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,5 +67,5 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -tags extended + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended displayName: 'Test-Generate Win-ARM' From 4edaa3c599cd2ce0a5887f4809adb13e28776f8d Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 13:29:01 +0200 Subject: [PATCH 036/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index fac2bbea..9b6f5956 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -50,9 +50,11 @@ steps: sudo snap install zig --classic --beta zig version echo $PATH - sudo echo "#!/bin/sh zig cc $@" >> /snap/bin/zcc.sh + export PATH=$PATH:$(pwd) + echo $PATH + sudo echo "#!/bin/sh\nzig cc $@" >> zcc.sh echo "test" - sudo chmod +x /snap/bin/zcc.sh + sudo chmod +x zcc.sh #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -60,7 +62,13 @@ steps: displayName: 'Install cross compiler for Windows' - script: | + echo $PATH + export PATH=$PATH:$(pwd) + echo $PATH cd uplink-c + echo $PATH + export PATH=$PATH:$(pwd) + echo $PATH export CC="zig cc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" From 7cb74e25b24e2f6d192a6c3a8eb4593bc24649d3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 13:32:06 +0200 Subject: [PATCH 037/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9b6f5956..90e45864 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -69,7 +69,7 @@ steps: echo $PATH export PATH=$PATH:$(pwd) echo $PATH - export CC="zig cc -target aarch64-windows-gnu" + export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" export GOARCH="arm64" From 564d8aee7bf9cd6776aa8609924fbc35e29f8c53 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 13:40:18 +0200 Subject: [PATCH 038/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 90e45864..9ff8d616 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,9 +52,9 @@ steps: echo $PATH export PATH=$PATH:$(pwd) echo $PATH - sudo echo "#!/bin/sh\nzig cc $@" >> zcc.sh + sudo echo "#!/bin/sh\nzig cc $@" >> zcc echo "test" - sudo chmod +x zcc.sh + sudo chmod +x zcc #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs From da63828a3e85a6bc40806111d95cab2b4dfe1ea7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 13:48:41 +0200 Subject: [PATCH 039/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9ff8d616..41decb63 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,9 +52,11 @@ steps: echo $PATH export PATH=$PATH:$(pwd) echo $PATH - sudo echo "#!/bin/sh\nzig cc $@" >> zcc + echo $'#!/bin/sh \n zig cc $@ \n echo "hallo welt"' >> zcc echo "test" sudo chmod +x zcc + zcc + echo "test2" #sudo apt-get install g++-arm-linux-gnueabi #sudo apt-get install gcc-arm* #sudo apt-get install ia32-libs @@ -62,13 +64,6 @@ steps: displayName: 'Install cross compiler for Windows' - script: | - echo $PATH - export PATH=$PATH:$(pwd) - echo $PATH - cd uplink-c - echo $PATH - export PATH=$PATH:$(pwd) - echo $PATH export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" From e853766b78249e86c9e6ba439ab657c97394bd3b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 13:51:16 +0200 Subject: [PATCH 040/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 41decb63..c455ab88 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: echo $PATH export PATH=$PATH:$(pwd) echo $PATH - echo $'#!/bin/sh \n zig cc $@ \n echo "hallo welt"' >> zcc + echo $'#!/bin/sh \n zig cc $@' >> zcc echo "test" sudo chmod +x zcc zcc @@ -64,6 +64,7 @@ steps: displayName: 'Install cross compiler for Windows' - script: | + cd uplink-c export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" From 80c404e9b7102f34982162ee1c814432fba76b3f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 4 Aug 2021 13:53:37 +0200 Subject: [PATCH 041/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c455ab88..82eda622 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -65,6 +65,9 @@ steps: - script: | cd uplink-c + export PATH=$PATH:$(pwd) + echo $'#!/bin/sh \n zig cc $@' >> zcc + sudo chmod +x zcc export CC="zcc -target aarch64-windows-gnu" export CXX="zig c++ -target aarch64-windows-gnu" export GOOS="windows" From 66e218d906cbe6e58a1557d24fcf0f559412222c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 09:47:58 +0200 Subject: [PATCH 042/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 82eda622..3ed4c89a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -33,6 +33,25 @@ steps: mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' +- script: | + wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64.tar.xz + tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64.tar.xz + cd llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64 + cd bin + export PATH=$PATH:$(pwd) + cd .. + cd .. + cd uplink-c + + export CC="aarch64-w64-mingw32-gcc" + export CXX="aarch64-w64-mingw32-g++" + export GOOS="windows" + export GOARCH="arm64" + export GOARM=7 + export CGO_ENABLED="1" + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended + displayName: 'Test-Generate Win-ARM with LLVM' + - task: GoTool@0 inputs: version: '$(GOLANG_VERSION)' From d88b0619889dcaefd513f60e1c830668d01c7f46 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 09:49:35 +0200 Subject: [PATCH 043/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3ed4c89a..fc52f515 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -33,6 +33,17 @@ steps: mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' +- task: GoTool@0 + inputs: + version: '$(GOLANG_VERSION)' + displayName: 'Install Go $(GOLANG_VERSION)' + +- script: | + go get -v golang.org/dl/go1.17rc2 + /home/vsts/go/bin/go1.17rc2 download + /home/vsts/go/bin/go1.17rc2 version + displayName: 'Run SWIG to generate a c-file necessary for the DLL' + - script: | wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64.tar.xz tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64.tar.xz @@ -52,18 +63,6 @@ steps: /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended displayName: 'Test-Generate Win-ARM with LLVM' -- task: GoTool@0 - inputs: - version: '$(GOLANG_VERSION)' - displayName: 'Install Go $(GOLANG_VERSION)' - -- script: | - go get -v golang.org/dl/go1.17rc2 - /home/vsts/go/bin/go1.17rc2 download - /home/vsts/go/bin/go1.17rc2 version - displayName: 'Run SWIG to generate a c-file necessary for the DLL' - - - script: | sudo apt-get update sudo snap install zig --classic --beta From 24098749f3dbae7a7fa68514ffcb22f9606f6527 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 09:54:54 +0200 Subject: [PATCH 044/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index fc52f515..6ba4ceb0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -45,9 +45,9 @@ steps: displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | - wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64.tar.xz - tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64.tar.xz - cd llvm-mingw-20210423-ucrt-ubuntu-18.04-aarch64 + wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz + tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz + cd llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64 cd bin export PATH=$PATH:$(pwd) cd .. From caef9d61f97d2292a1791cf216f343f38b8aa693 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:10:46 +0200 Subject: [PATCH 045/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 6ba4ceb0..191ce5e0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -61,6 +61,18 @@ steps: export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended + echo "Feddisch 1" + + export CC="aarch64-w64-mingw32uwp-gcc" + export CXX="aarch64-w64-mingw32uwp-g++" + export GOOS="windows" + export GOARCH="arm64" + export GOARM=7 + export CGO_ENABLED="1" + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended + echo "Feddisch 2" + ls + echo "feddisch 3" displayName: 'Test-Generate Win-ARM with LLVM' - script: | From 0e30d5c65ebacb1fd6f9630d9675759ee1a6dd2e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:15:01 +0200 Subject: [PATCH 046/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 191ce5e0..d4bb88f7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -60,7 +60,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Feddisch 1" export CC="aarch64-w64-mingw32uwp-gcc" @@ -69,9 +69,9 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v echo "Feddisch 2" - ls + ls -al echo "feddisch 3" displayName: 'Test-Generate Win-ARM with LLVM' From 73d36ba814c7807eef75b25af34c8cb806d26199 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:18:55 +0200 Subject: [PATCH 047/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d4bb88f7..c18da14b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,8 +54,8 @@ steps: cd .. cd uplink-c - export CC="aarch64-w64-mingw32-gcc" - export CXX="aarch64-w64-mingw32-g++" + export CC="aarch64-w64-mingw32-gcc -v" + export CXX="aarch64-w64-mingw32-g++ -v" export GOOS="windows" export GOARCH="arm64" export GOARM=7 @@ -69,7 +69,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w -v" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v echo "Feddisch 2" ls -al echo "feddisch 3" From 8510649cc244ea1e1a375aafa1ba0a06a38fa991 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:26:27 +0200 Subject: [PATCH 048/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c18da14b..00f1d487 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -44,6 +44,28 @@ steps: /home/vsts/go/bin/go1.17rc2 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' +- script: | + wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-aarch64-arm-none-linux-gnueabihf.tar.xz + tar -xf gcc-arm-10.3-2021.07-aarch64-arm-none-linux-gnueabihf.tar.xz + cd gcc-arm-10.3-2021.07-aarch64-arm-none-linux-gnueabihf + cd bin + export PATH=$PATH:$(pwd) + cd .. + cd .. + cd uplink-c + + export CC="arm-none-linux-gnueabihf-gcc -v" + export CXX="arm-none-linux-gnueabihf-g++ -v" + export GOOS="windows" + export GOARCH="arm64" + export GOARM=7 + export CGO_ENABLED="1" + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v + echo "Feddisch 1" + ls -al + echo "feddisch 2" + displayName: 'Test-Generate Win-ARM with ARM' + - script: | wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz From 703e558d1650d8d8fc6ae4f1823018d38d6aacff Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:30:02 +0200 Subject: [PATCH 049/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 00f1d487..8193c4f2 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -45,9 +45,9 @@ steps: displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | - wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-aarch64-arm-none-linux-gnueabihf.tar.xz - tar -xf gcc-arm-10.3-2021.07-aarch64-arm-none-linux-gnueabihf.tar.xz - cd gcc-arm-10.3-2021.07-aarch64-arm-none-linux-gnueabihf + wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz + tar -xf gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz + cd gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf cd bin export PATH=$PATH:$(pwd) cd .. From 0d7ae9115a3e99b8bd833d4f4807abeb9cbb2937 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:43:09 +0200 Subject: [PATCH 050/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8193c4f2..023af167 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,13 +54,13 @@ steps: cd .. cd uplink-c - export CC="arm-none-linux-gnueabihf-gcc -v" - export CXX="arm-none-linux-gnueabihf-g++ -v" + export CC="arm-none-linux-gnueabihf-gcc" + export CXX="arm-none-linux-gnueabihf-g++" export GOOS="windows" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended echo "Feddisch 1" ls -al echo "feddisch 2" From a14f40eadd6e291d82d6872bd84bbe3821542bfd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:45:42 +0200 Subject: [PATCH 051/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 023af167..8572e8ea 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -60,7 +60,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended + /home/vsts/go/bin/go1.17rc2 build -o storj_uplink.dll -buildmode c-shared -tags extended echo "Feddisch 1" ls -al echo "feddisch 2" From fe1aecac6adb0efd2034568e8f9c3508854231b2 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:48:50 +0200 Subject: [PATCH 052/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8572e8ea..7dfed376 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -60,7 +60,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -o storj_uplink.dll -buildmode c-shared -tags extended + /home/vsts/go/bin/go1.17rc2 build -o storj_uplink.dll -buildmode c-shared echo "Feddisch 1" ls -al echo "feddisch 2" From 6674a55a3965f00b774b021d891edabf868b3ba3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:55:07 +0200 Subject: [PATCH 053/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7dfed376..d9732d18 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -45,17 +45,17 @@ steps: displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | - wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz - tar -xf gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz - cd gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf + wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz + tar -xf gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz + cd gcc-arm-10.3-2021.07-x86_64-arm-none-eabi cd bin export PATH=$PATH:$(pwd) cd .. cd .. cd uplink-c - export CC="arm-none-linux-gnueabihf-gcc" - export CXX="arm-none-linux-gnueabihf-g++" + export CC="arm-none-eabi-gcc" + export CXX="arm-none-eabi-g++" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From bffdccccadddba803a4bb9a788cfa817464a4b84 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 10:58:14 +0200 Subject: [PATCH 054/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d9732d18..67078414 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -45,17 +45,17 @@ steps: displayName: 'Run SWIG to generate a c-file necessary for the DLL' - script: | - wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz - tar -xf gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz - cd gcc-arm-10.3-2021.07-x86_64-arm-none-eabi + wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz + tar -xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz + cd gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf cd bin export PATH=$PATH:$(pwd) cd .. cd .. cd uplink-c - export CC="arm-none-eabi-gcc" - export CXX="arm-none-eabi-g++" + export CC="aarch64-none-elf-gcc" + export CXX="aarch64-none-elf-g++" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From eb2a553b66dc0acef2fbc7989ef0028bfbe4e47b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 11:12:14 +0200 Subject: [PATCH 055/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 67078414..0afdfebc 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,7 +53,9 @@ steps: cd .. cd .. cd uplink-c - + echo "welches" + which aarch64-none-elf-gcc + echo "^^die da" export CC="aarch64-none-elf-gcc" export CXX="aarch64-none-elf-g++" export GOOS="windows" From 79f6c13068a99b59cbb2f831416a1e7dcceb02e6 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 11:37:19 +0200 Subject: [PATCH 056/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0afdfebc..0de0a88a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -56,8 +56,8 @@ steps: echo "welches" which aarch64-none-elf-gcc echo "^^die da" - export CC="aarch64-none-elf-gcc" - export CXX="aarch64-none-elf-g++" + #export CC="aarch64-none-elf-gcc" + #export CXX="aarch64-none-elf-g++" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From 20dc71982f27213ca657dcd7cdbc42521c638e98 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 13:44:40 +0200 Subject: [PATCH 057/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0de0a88a..73a3bc29 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,19 +53,15 @@ steps: cd .. cd .. cd uplink-c - echo "welches" - which aarch64-none-elf-gcc - echo "^^die da" #export CC="aarch64-none-elf-gcc" #export CXX="aarch64-none-elf-g++" export GOOS="windows" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -o storj_uplink.dll -buildmode c-shared - echo "Feddisch 1" + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared + echo "Sollte dll enthalten:" ls -al - echo "feddisch 2" displayName: 'Test-Generate Win-ARM with ARM' - script: | @@ -77,7 +73,7 @@ steps: cd .. cd .. cd uplink-c - + export CC="aarch64-w64-mingw32-gcc -v" export CXX="aarch64-w64-mingw32-g++ -v" export GOOS="windows" @@ -85,7 +81,8 @@ steps: export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v - echo "Feddisch 1" + echo "Sollte DLL enthalten:" + ls -al export CC="aarch64-w64-mingw32uwp-gcc" export CXX="aarch64-w64-mingw32uwp-g++" @@ -94,9 +91,8 @@ steps: export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w -v" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v - echo "Feddisch 2" + echo "Sollte DLL enthalten:" ls -al - echo "feddisch 3" displayName: 'Test-Generate Win-ARM with LLVM' - script: | From 3a167610516dae6ee3424c9339908dd38fc4f968 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 14:05:44 +0200 Subject: [PATCH 058/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 115 ++++++++---------- 1 file changed, 52 insertions(+), 63 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 73a3bc29..5b8e18e5 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -44,85 +44,74 @@ steps: /home/vsts/go/bin/go1.17rc2 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' -- script: | - wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz - tar -xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz - cd gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf - cd bin - export PATH=$PATH:$(pwd) - cd .. - cd .. - cd uplink-c - #export CC="aarch64-none-elf-gcc" - #export CXX="aarch64-none-elf-g++" - export GOOS="windows" - export GOARCH="arm64" - export GOARM=7 - export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared - echo "Sollte dll enthalten:" - ls -al - displayName: 'Test-Generate Win-ARM with ARM' +#- script: | +# wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz +# tar -xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz +# cd gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf +# cd bin +# export PATH=$PATH:$(pwd) +# cd .. +# cd .. +# cd uplink-c +# #export CC="aarch64-none-elf-gcc" +# #export CXX="aarch64-none-elf-g++" +# export GOOS="windows" +# export GOARCH="arm64" +# export GOARM=7 +# export CGO_ENABLED="1" +# /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared +# echo "Sollte dll enthalten:" +# ls -al +# displayName: 'Test-Generate Win-ARM with ARM' -- script: | - wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz - tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz - cd llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64 - cd bin - export PATH=$PATH:$(pwd) - cd .. - cd .. - cd uplink-c - - export CC="aarch64-w64-mingw32-gcc -v" - export CXX="aarch64-w64-mingw32-g++ -v" - export GOOS="windows" - export GOARCH="arm64" - export GOARM=7 - export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v - echo "Sollte DLL enthalten:" - ls -al +#- script: | +# wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz +# tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz +# cd llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64 +# cd bin +# export PATH=$PATH:$(pwd) +# cd .. +# cd .. +# cd uplink-c +# +# export CC="aarch64-w64-mingw32-gcc -v" +# export CXX="aarch64-w64-mingw32-g++ -v" +# export GOOS="windows" +# export GOARCH="arm64" +# export GOARM=7 +# export CGO_ENABLED="1" +# /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v +# echo "Sollte DLL enthalten:" +# ls -al - export CC="aarch64-w64-mingw32uwp-gcc" - export CXX="aarch64-w64-mingw32uwp-g++" - export GOOS="windows" - export GOARCH="arm64" - export GOARM=7 - export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w -v" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v - echo "Sollte DLL enthalten:" - ls -al - displayName: 'Test-Generate Win-ARM with LLVM' +# export CC="aarch64-w64-mingw32uwp-gcc" +# export CXX="aarch64-w64-mingw32uwp-g++" +# export GOOS="windows" +# export GOARCH="arm64" +# export GOARM=7 +# export CGO_ENABLED="1" +# /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w -v" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v +# echo "Sollte DLL enthalten:" +# ls -al +# displayName: 'Test-Generate Win-ARM with LLVM' - script: | sudo apt-get update sudo snap install zig --classic --beta zig version - echo $PATH - export PATH=$PATH:$(pwd) - echo $PATH - echo $'#!/bin/sh \n zig cc $@' >> zcc - echo "test" - sudo chmod +x zcc - zcc - echo "test2" - #sudo apt-get install g++-arm-linux-gnueabi - #sudo apt-get install gcc-arm* - #sudo apt-get install ia32-libs - cd /usr/bin displayName: 'Install cross compiler for Windows' - script: | cd uplink-c export PATH=$PATH:$(pwd) + echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc $@' >> zcc sudo chmod +x zcc - export CC="zcc -target aarch64-windows-gnu" - export CXX="zig c++ -target aarch64-windows-gnu" + export CC="zcc -target aarch64-windows-gnu -v" + export CXX="zig c++ -target aarch64-windows-gnu -v" export GOOS="windows" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended + /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v displayName: 'Test-Generate Win-ARM' From 092826417ac03071973c8db138eaf832fbb3da47 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 14:10:51 +0200 Subject: [PATCH 059/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5b8e18e5..10f98479 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -99,6 +99,7 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version + zig targets displayName: 'Install cross compiler for Windows' - script: | From da291e76b1fddc34743ee8c779266ad1da7d2a9f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 14:18:47 +0200 Subject: [PATCH 060/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 10f98479..9a13dcca 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -108,8 +108,8 @@ steps: echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc $@' >> zcc sudo chmod +x zcc - export CC="zcc -target aarch64-windows-gnu -v" - export CXX="zig c++ -target aarch64-windows-gnu -v" + export CC="zcc -target aarch64v8-windows-gnu -v" + export CXX="zig c++ -target aarch64v8-windows-gnu -v" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From e219904456c84ece6a0e8b3845ce411a3da981ca Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 14:21:28 +0200 Subject: [PATCH 061/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9a13dcca..dea33755 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -108,10 +108,10 @@ steps: echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc $@' >> zcc sudo chmod +x zcc - export CC="zcc -target aarch64v8-windows-gnu -v" - export CXX="zig c++ -target aarch64v8-windows-gnu -v" + export CC="zcc -target arm-windows-gnu -v" + export CXX="zig c++ -target arm-windows-gnu -v" export GOOS="windows" - export GOARCH="arm64" + export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v From d336792c6450f86948de86e786f4c46642231cf1 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 14:23:21 +0200 Subject: [PATCH 062/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index dea33755..0a2a580b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -108,10 +108,10 @@ steps: echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc $@' >> zcc sudo chmod +x zcc - export CC="zcc -target arm-windows-gnu -v" - export CXX="zig c++ -target arm-windows-gnu -v" + export CC="zcc -target native-native-msvc -v" + export CXX="zig c++ -target native-native-msvc -v" export GOOS="windows" - export GOARCH="arm" + export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v From 70ea9e00eb9829a81d91929964689a3af83d9621 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 5 Aug 2021 15:03:11 +0200 Subject: [PATCH 063/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0a2a580b..d7859be0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -108,8 +108,8 @@ steps: echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc $@' >> zcc sudo chmod +x zcc - export CC="zcc -target native-native-msvc -v" - export CXX="zig c++ -target native-native-msvc -v" + export CC="zcc -target aarch64-linux-gnu -v" + export CXX="zig c++ -target aarch64-linux-gnu -v" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From ea3e2e8ed69978acb67568af874532fd6cac40c0 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 12:03:04 +0200 Subject: [PATCH 064/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d7859be0..e0df96a0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -106,10 +106,12 @@ steps: cd uplink-c export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc sudo chmod +x zcc - export CC="zcc -target aarch64-linux-gnu -v" - export CXX="zig c++ -target aarch64-linux-gnu -v" + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx + sudo chmod +x zxx + export CC="zcc" + export CXX="zxx" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From f4a5f29fe890ee509b16c7cf489e0ba7fdd2f2a7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 12:06:37 +0200 Subject: [PATCH 065/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e0df96a0..b2ca2ece 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -106,13 +106,13 @@ steps: cd uplink-c export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-linux-gnu -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-linux-gnu -v $@' >> zxx sudo chmod +x zxx export CC="zcc" export CXX="zxx" - export GOOS="windows" + export GOOS="linux" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" From a3c02ea8f51fec4f8881692f1fc43ca6d193f5c6 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 12:10:19 +0200 Subject: [PATCH 066/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index b2ca2ece..57c55d2a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -117,4 +117,6 @@ steps: export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v + echo "Build succeeded" + ls -al displayName: 'Test-Generate Win-ARM' From 866a1823af3996ba4bbafc9c992ee5b372bc2371 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 12:14:40 +0200 Subject: [PATCH 067/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 57c55d2a..131402d3 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -106,13 +106,13 @@ steps: cd uplink-c export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-linux-gnu -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-linux-gnu -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx sudo chmod +x zxx export CC="zcc" export CXX="zxx" - export GOOS="linux" + export GOOS="windows" export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" From fcda2aa77a20de09f9babd409fd05dceec4e6580 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 14:08:15 +0200 Subject: [PATCH 068/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 131402d3..f5fc5bd3 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -110,8 +110,11 @@ steps: sudo chmod +x zcc echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx sudo chmod +x zxx + echo $'#!/bin/sh \n zig ar -v $@' >> zar + sudo chmod +x zar export CC="zcc" export CXX="zxx" + export AR="zar" export GOOS="windows" export GOARCH="arm64" export GOARM=7 From 3e2cabd5e4de762fc53307f95004a136b47e533c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 20:16:35 +0200 Subject: [PATCH 069/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f5fc5bd3..f1dbb06a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -117,7 +117,7 @@ steps: export AR="zar" export GOOS="windows" export GOARCH="arm64" - export GOARM=7 + export GOARM=8 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" From bab3c4f04f45712b23329c3c2cebc829a6bcab8c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 20:25:05 +0200 Subject: [PATCH 070/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f1dbb06a..6b5e2245 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -106,9 +106,9 @@ steps: cd uplink-c export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-pc-windows-msvc -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-pc-windows-msvc -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar @@ -117,7 +117,7 @@ steps: export AR="zar" export GOOS="windows" export GOARCH="arm64" - export GOARM=8 + export GOARM=7 export CGO_ENABLED="1" /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" From 99c065be8e9d606074e5f79bcc95c10101e2403b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 11 Aug 2021 20:28:08 +0200 Subject: [PATCH 071/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 6b5e2245..f45cec80 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -106,9 +106,9 @@ steps: cd uplink-c export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-pc-windows-msvc -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-msvc -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-pc-windows-msvc -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-msvc -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 5963fb3f80f8331a142badbf835ccfff473c4e5f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:22:50 +0200 Subject: [PATCH 072/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f45cec80..8d373527 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -103,7 +103,14 @@ steps: displayName: 'Install cross compiler for Windows' - script: | + echo "*** find first" + find . -name cephes_emath.c + echo "*** find second" + find /home -name cephes_emath.c + echo "*** find third" + find /usr -name cephes_emath.c cd uplink-c + which zig export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-msvc -v $@' >> zcc From ffedd18cd168c58410d95322c3dcd5dec2ba6be7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:30:06 +0200 Subject: [PATCH 073/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8d373527..898830e8 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -99,18 +99,18 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version - zig targets displayName: 'Install cross compiler for Windows' - script: | - echo "*** find first" - find . -name cephes_emath.c - echo "*** find second" - find /home -name cephes_emath.c - echo "*** find third" - find /usr -name cephes_emath.c cd uplink-c which zig + echo "** List /snap/bin/" + ls /snap/bin/ + echo "** List /snap/bin/zig" + ls /snap/bin/zig + echo "** find" + find /snap/bin -name cephes_emath.c + echo "** done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-msvc -v $@' >> zcc From 999a4427aed785fe6d58aa772aeb93227e61d5e1 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:35:52 +0200 Subject: [PATCH 074/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 898830e8..90859360 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -109,8 +109,10 @@ steps: echo "** List /snap/bin/zig" ls /snap/bin/zig echo "** find" - find /snap/bin -name cephes_emath.c + find /snap/bin/zig/lib -name cephes_emath.c echo "** done" + ls /snap/bin/zig/lib + echo "** done2" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-msvc -v $@' >> zcc From 554144d875330fc76ecbc59dae103abc5f3ee95d Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:39:13 +0200 Subject: [PATCH 075/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 90859360..9691c78f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -109,9 +109,9 @@ steps: echo "** List /snap/bin/zig" ls /snap/bin/zig echo "** find" - find /snap/bin/zig/lib -name cephes_emath.c + find /snap/ -name cephes_emath.c echo "** done" - ls /snap/bin/zig/lib + ls /snap/zig/current/lib echo "** done2" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" From dbdc7a0e21ab9fcfc97292db5003e8c381ff47c7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:43:53 +0200 Subject: [PATCH 076/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9691c78f..981e40ea 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -99,25 +99,21 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version + cd /snap/zig/current/lib/libc/mingw/math + ls + wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h + echo "downloaded" + ls + echo "done" displayName: 'Install cross compiler for Windows' - script: | cd uplink-c - which zig - echo "** List /snap/bin/" - ls /snap/bin/ - echo "** List /snap/bin/zig" - ls /snap/bin/zig - echo "** find" - find /snap/ -name cephes_emath.c - echo "** done" - ls /snap/zig/current/lib - echo "** done2" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-msvc -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-msvc -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 9307a13c9d968223aa63f366a24d9683bda7a091 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:45:30 +0200 Subject: [PATCH 077/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 981e40ea..a031853c 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -101,7 +101,7 @@ steps: zig version cd /snap/zig/current/lib/libc/mingw/math ls - wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h + sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "downloaded" ls echo "done" From 91098dc15e8256713566adbacd2cebc40d3853b2 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:55:34 +0200 Subject: [PATCH 078/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a031853c..5409fe23 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -99,7 +99,7 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version - cd /snap/zig/current/lib/libc/mingw/math + cd /snap/zig/3678/lib/libc/mingw/math/ ls sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "downloaded" From 57bfecf175969351db82eb9ba1d073d2751de195 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 08:57:52 +0200 Subject: [PATCH 079/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5409fe23..740fa80a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -109,6 +109,7 @@ steps: - script: | cd uplink-c + sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc From 22b73154415759ebd917eb463b58eaa5722bb390 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:02:43 +0200 Subject: [PATCH 080/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 740fa80a..ec6bf219 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -99,6 +99,12 @@ steps: sudo apt-get update sudo snap install zig --classic --beta zig version + echo "*** realpath" + realpath /snap/zig/3678/lib/libc/mingw/math/ + realpath /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c + echo "*** ll" + ll /snap/zig/3678/lib/libc/mingw/math/ + ll /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c cd /snap/zig/3678/lib/libc/mingw/math/ ls sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h From a59eaf387c44d3796d543906d6acfa8b7cdda55b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:07:48 +0200 Subject: [PATCH 081/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ec6bf219..bdde91ee 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -116,6 +116,9 @@ steps: - script: | cd uplink-c sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h + echo "*** make symlink" + ln -s $(pwd)/bsd_private.h /snap/zig/3678/lib/libc/mingw/math/bsd_private.h + echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc From 41f332b1fc9354cf7d0f70c84167724d3dc0d643 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:14:45 +0200 Subject: [PATCH 082/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index bdde91ee..1c9ba222 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -117,7 +117,7 @@ steps: cd uplink-c sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "*** make symlink" - ln -s $(pwd)/bsd_private.h /snap/zig/3678/lib/libc/mingw/math/bsd_private.h + sudo mount --bind -o nodev,ro $(pwd)/bsd_private.h /snap/zig/3678/lib/libc/mingw/math/bsd_private.h echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" From 9748f2bda545625b0f4e5d3f39f92bf06a4bd509 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:18:48 +0200 Subject: [PATCH 083/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1c9ba222..d9db84a2 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -117,7 +117,9 @@ steps: cd uplink-c sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "*** make symlink" - sudo mount --bind -o nodev,ro $(pwd)/bsd_private.h /snap/zig/3678/lib/libc/mingw/math/bsd_private.h + mkdir math + cp -r /snap/zig/3678/lib/libc/mingw/ math + sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" From 7d0c2892f3967feb0edce8c30e608a3bfd390796 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:22:49 +0200 Subject: [PATCH 084/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d9db84a2..7961d876 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -118,7 +118,7 @@ steps: sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "*** make symlink" mkdir math - cp -r /snap/zig/3678/lib/libc/mingw/ math + cp -r /snap/zig/3678/lib/libc/mingw/math ./math sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math echo "*** make symlink done" export PATH=$PATH:$(pwd) From 8fdf62c6cbc93bbef1052e2038cfaf399ae34769 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:26:45 +0200 Subject: [PATCH 085/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7961d876..5baff932 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -118,7 +118,9 @@ steps: sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "*** make symlink" mkdir math - cp -r /snap/zig/3678/lib/libc/mingw/math ./math + cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ + echo "** listing math" + ls ./math sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math echo "*** make symlink done" export PATH=$PATH:$(pwd) From 3cd9f12ebe0e81085845b9bdc0dd4296a6553691 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:29:06 +0200 Subject: [PATCH 086/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5baff932..b1ff7cb0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -115,12 +115,14 @@ steps: - script: | cd uplink-c - sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h echo "*** make symlink" mkdir math cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ echo "** listing math" ls ./math + cd math + sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h + cd .. sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math echo "*** make symlink done" export PATH=$PATH:$(pwd) From fa5d630a90a6d3de4271ba88c9d9b38a85878d60 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 09:35:57 +0200 Subject: [PATCH 087/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index b1ff7cb0..b3ecaa1d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -127,9 +127,9 @@ steps: echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From e898f32ffa897e6c45d88873dbbb9912f8e4eb37 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 13 Aug 2021 19:49:09 +0200 Subject: [PATCH 088/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index b3ecaa1d..b1ff7cb0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -127,9 +127,9 @@ steps: echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From b2fab033216776fa51b507f778f6b16ac20900bf Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 17 Aug 2021 09:07:30 +0200 Subject: [PATCH 089/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index b1ff7cb0..c6422327 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,9 +39,10 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - go get -v golang.org/dl/go1.17rc2 - /home/vsts/go/bin/go1.17rc2 download - /home/vsts/go/bin/go1.17rc2 version + go version +# go get -v golang.org/dl/go1.17rc2 +# /home/vsts/go/bin/go1.17rc2 download +# /home/vsts/go/bin/go1.17rc2 version displayName: 'Run SWIG to generate a c-file necessary for the DLL' #- script: | @@ -140,7 +141,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al displayName: 'Test-Generate Win-ARM' From 6319a0d702e078e210298286b0df61d7af4549fc Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 17 Aug 2021 09:09:53 +0200 Subject: [PATCH 090/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c6422327..9e195e0e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -43,7 +43,7 @@ steps: # go get -v golang.org/dl/go1.17rc2 # /home/vsts/go/bin/go1.17rc2 download # /home/vsts/go/bin/go1.17rc2 version - displayName: 'Run SWIG to generate a c-file necessary for the DLL' + displayName: 'Check Go-version' #- script: | # wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz From 66b79debe07200e1714015c86bc8dacd2fe6bc96 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 17 Aug 2021 09:12:52 +0200 Subject: [PATCH 091/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9e195e0e..0333ba86 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -134,7 +134,7 @@ steps: sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar - export CC="zcc" + export CC="zig cc -target aarch64-windows-gnu -v" export CXX="zxx" export AR="zar" export GOOS="windows" From 251501da5dbde6b0438bb8cd7ba16eeb7562a0a9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 17 Aug 2021 09:15:55 +0200 Subject: [PATCH 092/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 61 +------------------ 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0333ba86..0b0766bf 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,65 +39,6 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - go version -# go get -v golang.org/dl/go1.17rc2 -# /home/vsts/go/bin/go1.17rc2 download -# /home/vsts/go/bin/go1.17rc2 version - displayName: 'Check Go-version' - -#- script: | -# wget https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz -# tar -xf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz -# cd gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf -# cd bin -# export PATH=$PATH:$(pwd) -# cd .. -# cd .. -# cd uplink-c -# #export CC="aarch64-none-elf-gcc" -# #export CXX="aarch64-none-elf-g++" -# export GOOS="windows" -# export GOARCH="arm64" -# export GOARM=7 -# export CGO_ENABLED="1" -# /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -# echo "Sollte dll enthalten:" -# ls -al -# displayName: 'Test-Generate Win-ARM with ARM' - -#- script: | -# wget https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz -# tar -xf llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64.tar.xz -# cd llvm-mingw-20210423-ucrt-ubuntu-18.04-x86_64 -# cd bin -# export PATH=$PATH:$(pwd) -# cd .. -# cd .. -# cd uplink-c -# -# export CC="aarch64-w64-mingw32-gcc -v" -# export CXX="aarch64-w64-mingw32-g++ -v" -# export GOOS="windows" -# export GOARCH="arm64" -# export GOARM=7 -# export CGO_ENABLED="1" -# /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v -# echo "Sollte DLL enthalten:" -# ls -al - -# export CC="aarch64-w64-mingw32uwp-gcc" -# export CXX="aarch64-w64-mingw32uwp-g++" -# export GOOS="windows" -# export GOARCH="arm64" -# export GOARM=7 -# export CGO_ENABLED="1" -# /home/vsts/go/bin/go1.17rc2 build -ldflags="-s -w -v" -o storj_uplinkuwp.dll -buildmode c-shared -tags extended -v -# echo "Sollte DLL enthalten:" -# ls -al -# displayName: 'Test-Generate Win-ARM with LLVM' - -- script: | - sudo apt-get update sudo snap install zig --classic --beta zig version echo "*** realpath" @@ -134,7 +75,7 @@ steps: sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar - export CC="zig cc -target aarch64-windows-gnu -v" + export CC="zcc" export CXX="zxx" export AR="zar" export GOOS="windows" From 215e25b9df0a35a5967ac6ba5c6b8c1cdfcfe07f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 26 Aug 2021 20:42:50 +0200 Subject: [PATCH 093/266] Create types_windows_arm64.go --- uplink.NET/pipelines/types_windows_arm64.go | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 uplink.NET/pipelines/types_windows_arm64.go diff --git a/uplink.NET/pipelines/types_windows_arm64.go b/uplink.NET/pipelines/types_windows_arm64.go new file mode 100644 index 00000000..fdddc0c7 --- /dev/null +++ b/uplink.NET/pipelines/types_windows_arm64.go @@ -0,0 +1,34 @@ +// Copyright 2011 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package windows + +type WSAData struct { + Version uint16 + HighVersion uint16 + MaxSockets uint16 + MaxUdpDg uint16 + VendorInfo *byte + Description [WSADESCRIPTION_LEN + 1]byte + SystemStatus [WSASYS_STATUS_LEN + 1]byte +} + +type Servent struct { + Name *byte + Aliases **byte + Proto *byte + Port uint16 +} + +type JOBOBJECT_BASIC_LIMIT_INFORMATION struct { + PerProcessUserTimeLimit int64 + PerJobUserTimeLimit int64 + LimitFlags uint32 + MinimumWorkingSetSize uintptr + MaximumWorkingSetSize uintptr + ActiveProcessLimit uint32 + Affinity uintptr + PriorityClass uint32 + SchedulingClass uint32 +} From 91b89a5dd189c6b9d51b97d6810fe9161dfee1ae Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 26 Aug 2021 20:43:20 +0200 Subject: [PATCH 094/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0b0766bf..356d3753 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -57,6 +57,7 @@ steps: - script: | cd uplink-c + sudo wget https://raw.githubusercontent.com/TopperDEL/uplink.net/azure-pipelines-arm/uplink.NET/pipelines/types_windows_arm64.go echo "*** make symlink" mkdir math cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ From a6d93f5ce116202589e2d5ce816eb433cbfa13bf Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 26 Aug 2021 20:47:40 +0200 Subject: [PATCH 095/266] Update types_windows_arm64.go --- uplink.NET/pipelines/types_windows_arm64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/types_windows_arm64.go b/uplink.NET/pipelines/types_windows_arm64.go index fdddc0c7..c29e1e7b 100644 --- a/uplink.NET/pipelines/types_windows_arm64.go +++ b/uplink.NET/pipelines/types_windows_arm64.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package windows +package main type WSAData struct { Version uint16 From 07079ac977ef3359d1456e976072171ce44eaa75 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 26 Aug 2021 20:56:50 +0200 Subject: [PATCH 096/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 356d3753..ff8ddf0b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -57,7 +57,8 @@ steps: - script: | cd uplink-c - sudo wget https://raw.githubusercontent.com/TopperDEL/uplink.net/azure-pipelines-arm/uplink.NET/pipelines/types_windows_arm64.go + #sudo wget https://raw.githubusercontent.com/TopperDEL/uplink.net/azure-pipelines-arm/uplink.NET/pipelines/types_windows_arm64.go + go get -u golang.org/x/sys echo "*** make symlink" mkdir math cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ From 965f213082429c086e01f7f475a221297778f33a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 27 Aug 2021 08:32:33 +0200 Subject: [PATCH 097/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ff8ddf0b..3d8eae5f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -57,7 +57,6 @@ steps: - script: | cd uplink-c - #sudo wget https://raw.githubusercontent.com/TopperDEL/uplink.net/azure-pipelines-arm/uplink.NET/pipelines/types_windows_arm64.go go get -u golang.org/x/sys echo "*** make symlink" mkdir math From d3193e4e8999919c3e01f0e24c05a2cfae54b879 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 7 Sep 2021 15:07:13 +0200 Subject: [PATCH 098/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3d8eae5f..e2fc223d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,7 +39,7 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - sudo snap install zig --classic --beta + sudo snap install zig --classic --edge zig version echo "*** realpath" realpath /snap/zig/3678/lib/libc/mingw/math/ From d0b2810e54c1fdf9428a6d6714b2b93c7f02a304 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 7 Sep 2021 15:12:12 +0200 Subject: [PATCH 099/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e2fc223d..e0ef9efa 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -41,33 +41,33 @@ steps: - script: | sudo snap install zig --classic --edge zig version - echo "*** realpath" - realpath /snap/zig/3678/lib/libc/mingw/math/ - realpath /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c - echo "*** ll" - ll /snap/zig/3678/lib/libc/mingw/math/ - ll /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c - cd /snap/zig/3678/lib/libc/mingw/math/ - ls - sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h - echo "downloaded" - ls - echo "done" + #echo "*** realpath" + #realpath /snap/zig/3678/lib/libc/mingw/math/ + #realpath /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c + #echo "*** ll" + #ll /snap/zig/3678/lib/libc/mingw/math/ + #ll /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c + #cd /snap/zig/3678/lib/libc/mingw/math/ + #ls + #sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h + #echo "downloaded" + #ls + #echo "done" displayName: 'Install cross compiler for Windows' - script: | - cd uplink-c - go get -u golang.org/x/sys - echo "*** make symlink" - mkdir math - cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ - echo "** listing math" - ls ./math - cd math - sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h - cd .. - sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math - echo "*** make symlink done" + #cd uplink-c + #go get -u golang.org/x/sys + #echo "*** make symlink" + #mkdir math + #cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ + #echo "** listing math" + #ls ./math + #cd math + #sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h + #cd .. + #sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math + #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc From 719e97c1daed4fa4da7600bcc734dccc1e4e9221 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 7 Sep 2021 15:14:39 +0200 Subject: [PATCH 100/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e0ef9efa..5005bb0f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -56,8 +56,8 @@ steps: displayName: 'Install cross compiler for Windows' - script: | - #cd uplink-c - #go get -u golang.org/x/sys + cd uplink-c + go get -u golang.org/x/sys #echo "*** make symlink" #mkdir math #cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ From c2bbc6de5fe9941e88269799a530f9d806f557fd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 09:26:50 +0200 Subject: [PATCH 101/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5005bb0f..a2832bb0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -83,7 +83,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al displayName: 'Test-Generate Win-ARM' From 15ae985087424cd0c7453ce854ec40d48b7ee437 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 09:29:49 +0200 Subject: [PATCH 102/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a2832bb0..5005bb0f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -83,7 +83,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - go build -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al displayName: 'Test-Generate Win-ARM' From 4353050418366ffbbb6ddaba7229c529b63da6c6 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 09:30:07 +0200 Subject: [PATCH 103/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5005bb0f..a6529496 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -80,7 +80,7 @@ steps: export CXX="zxx" export AR="zar" export GOOS="windows" - export GOARCH="arm64" + export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v From 8bde77306e56378321604d68db6c075d21c36d6b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 09:31:48 +0200 Subject: [PATCH 104/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a6529496..5005bb0f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -80,7 +80,7 @@ steps: export CXX="zxx" export AR="zar" export GOOS="windows" - export GOARCH="arm" + export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v From 04d7ce80e6466df7049c5df09b9de6d06c41b03b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 14:05:11 +0200 Subject: [PATCH 105/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5005bb0f..64f5bee2 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,7 +39,7 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - sudo snap install zig --classic --edge + sudo snap install zig --classic --beta zig version #echo "*** realpath" #realpath /snap/zig/3678/lib/libc/mingw/math/ From c68feb4c4facc25c21f18845abde7f32225c42dd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 14:09:24 +0200 Subject: [PATCH 106/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 64f5bee2..5005bb0f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -39,7 +39,7 @@ steps: displayName: 'Install Go $(GOLANG_VERSION)' - script: | - sudo snap install zig --classic --beta + sudo snap install zig --classic --edge zig version #echo "*** realpath" #realpath /snap/zig/3678/lib/libc/mingw/math/ From 9eec1231ed9c0b002c8d4e858c70a56093af667f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 14:15:52 +0200 Subject: [PATCH 107/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5005bb0f..e91ccaa3 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -87,3 +87,10 @@ steps: echo "Build succeeded" ls -al displayName: 'Test-Generate Win-ARM' + +- task: PublishPipelineArtifact@1 + inputs: + targetPath: 'uplink-c/storj_uplink.dll' + artifact: 'arm64_dll' + publishLocation: 'pipeline' + displayName: 'Publish DLL as Artifact' \ No newline at end of file From 7273cb7ca80bb0806354e4d49177926c4ec3a3a2 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 19:45:40 +0200 Subject: [PATCH 108/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e91ccaa3..75de6e4b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mcpu cortex_a75 -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mcpu cortex_a75 -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From fb6cb0cc3066b832f23abb8fedb7b7233db8c3c6 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 8 Sep 2021 19:53:54 +0200 Subject: [PATCH 109/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 75de6e4b..8e5d66d7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mcpu cortex_a75 -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mcpu cortex_a75 -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 396bc4b2854a5aa2f4c04e0ffd5552756457ee55 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 9 Sep 2021 08:31:41 +0200 Subject: [PATCH 110/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8e5d66d7..d7bddd54 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 954b48e84a324a6f3ef34bdc4e8d844982c35668 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 9 Sep 2021 15:25:22 +0200 Subject: [PATCH 111/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d7bddd54..70344468 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 12870ba9b80587e519096b41bdde85c992d818d7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 9 Sep 2021 19:45:21 +0200 Subject: [PATCH 112/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 70344468..5820079b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 910fbe1aaa027e00b40f80a995cca8098e9e2fdf Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 9 Sep 2021 19:52:51 +0200 Subject: [PATCH 113/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5820079b..02d6ccee 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang -cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang -cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From b4ca083892b5497c7c39c7922f3f332a6ec08b00 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 9 Sep 2021 19:59:03 +0200 Subject: [PATCH 114/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 02d6ccee..5820079b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang -cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang -cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From a3965272244782801223056abcd04f6a18f662f5 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 9 Sep 2021 20:06:00 +0200 Subject: [PATCH 115/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5820079b..e5a59d1b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -Xclang -target-cpu -Xclang cortex-a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -Xclang -target-feature -Xclang -cortex-a78c -Xclang -target-feature -Xclang -cortex-r82 -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From cb69f4a406451a234efc853e27abb544586d8f4a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 10 Sep 2021 09:37:42 +0200 Subject: [PATCH 116/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e5a59d1b..4c4cf112 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -fpic -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -fpic -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 86a3f489604eff7b08d4e28fb06dfc2a89ef2099 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 10 Sep 2021 09:49:44 +0200 Subject: [PATCH 117/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 4c4cf112..e5a59d1b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -70,9 +70,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -fpic -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -fpic -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 2d485c20938e16e108c2e6bd1c183fda7ee01816 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 7 Oct 2021 20:31:19 +0200 Subject: [PATCH 118/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e5a59d1b..d5714cd4 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -41,23 +41,11 @@ steps: - script: | sudo snap install zig --classic --edge zig version - #echo "*** realpath" - #realpath /snap/zig/3678/lib/libc/mingw/math/ - #realpath /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c - #echo "*** ll" - #ll /snap/zig/3678/lib/libc/mingw/math/ - #ll /snap/zig/3678/lib/libc/mingw/math/cephes_emath.c - #cd /snap/zig/3678/lib/libc/mingw/math/ - #ls - #sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h - #echo "downloaded" - #ls - #echo "done" - displayName: 'Install cross compiler for Windows' + displayName: 'Install Zig' - script: | cd uplink-c - go get -u golang.org/x/sys + #go get -u golang.org/x/sys #echo "*** make symlink" #mkdir math #cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ From 8b079d51ddfe5f42e7ed7a3c8047340b5558516a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:11:22 +0200 Subject: [PATCH 119/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d5714cd4..9ffa0ce0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,6 +30,28 @@ steps: - script: | ls ls uplink-c + rm uplink-c/util.go + rm uplink-c/upload.go + rm uplink-c/scope.go + rm uplink-c/restrict_scope_helper.go + rm uplink-c/project.go + rm uplink-c/objects.go + rm uplink-c/object.go + rm uplink-c/multipart.go + rm uplink-c/handles_test.go + rm uplink-c/handles.go + rm uplink-c/error.go + rm uplink-c/encryption.go + rm uplink-c/edge_share.go + rm uplink-c/edge_access.go + rm uplink-c/download.go + rm uplink-c/custommetadata_test.go + rm uplink-c/custommetadata.go + rm uplink-c/custom_metadata_helper.go + rm uplink-c/config.go + rm uplink-c/buckets.go + rm uplink-c/bucket.go + rm uplink-c/access.go mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' From 71ee4cb44005e6b7e6eb5b031a8372d6fd53f175 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:13:56 +0200 Subject: [PATCH 120/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9ffa0ce0..ad1e2153 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,6 +52,8 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go rm uplink-c/access.go + echo "deleted" + ls uplink-c mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' From 8f6ecb8c2152e10be880253382e0e830298dad37 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:16:44 +0200 Subject: [PATCH 121/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ad1e2153..573c02aa 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,7 +54,7 @@ steps: rm uplink-c/access.go echo "deleted" ls uplink-c - mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c + #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' - task: GoTool@0 From ad742cbe51ef1ad056743d6f10f295a96f752699 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:20:15 +0200 Subject: [PATCH 122/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 573c02aa..55bd19a7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,23 +30,23 @@ steps: - script: | ls ls uplink-c - rm uplink-c/util.go + #rm uplink-c/util.go rm uplink-c/upload.go - rm uplink-c/scope.go + #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go rm uplink-c/project.go rm uplink-c/objects.go rm uplink-c/object.go rm uplink-c/multipart.go - rm uplink-c/handles_test.go - rm uplink-c/handles.go + #rm uplink-c/handles_test.go + #rm uplink-c/handles.go rm uplink-c/error.go rm uplink-c/encryption.go rm uplink-c/edge_share.go rm uplink-c/edge_access.go rm uplink-c/download.go - rm uplink-c/custommetadata_test.go - rm uplink-c/custommetadata.go + #rm uplink-c/custommetadata_test.go + #rm uplink-c/custommetadata.go rm uplink-c/custom_metadata_helper.go rm uplink-c/config.go rm uplink-c/buckets.go From 0a7c96b3e615c417a73be843cdaa7e38b1ee392c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:28:58 +0200 Subject: [PATCH 123/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 55bd19a7..dfb22c4c 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,30 +30,7 @@ steps: - script: | ls ls uplink-c - #rm uplink-c/util.go - rm uplink-c/upload.go - #rm uplink-c/scope.go - rm uplink-c/restrict_scope_helper.go - rm uplink-c/project.go - rm uplink-c/objects.go - rm uplink-c/object.go - rm uplink-c/multipart.go - #rm uplink-c/handles_test.go - #rm uplink-c/handles.go - rm uplink-c/error.go - rm uplink-c/encryption.go - rm uplink-c/edge_share.go - rm uplink-c/edge_access.go - rm uplink-c/download.go - #rm uplink-c/custommetadata_test.go - #rm uplink-c/custommetadata.go - rm uplink-c/custom_metadata_helper.go - rm uplink-c/config.go - rm uplink-c/buckets.go - rm uplink-c/bucket.go - rm uplink-c/access.go - echo "deleted" - ls uplink-c + #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' From b53545a02b70631f4d85ce737345a643153fb202 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:38:15 +0200 Subject: [PATCH 124/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index dfb22c4c..1d7f8239 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -75,6 +75,9 @@ steps: go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al + echo "*** Hole pdb" + cd .. + cp /home/vsts/*pdb uplink-c displayName: 'Test-Generate Win-ARM' - task: PublishPipelineArtifact@1 @@ -82,4 +85,11 @@ steps: targetPath: 'uplink-c/storj_uplink.dll' artifact: 'arm64_dll' publishLocation: 'pipeline' - displayName: 'Publish DLL as Artifact' \ No newline at end of file + displayName: 'Publish DLL as Artifact' + +- task: PublishPipelineArtifact@1 + inputs: + targetPath: 'uplink-c/storj_uplink.pdb' + artifact: 'arm64_dll_pdb' + publishLocation: 'pipeline' + displayName: 'Publish PDB as Artifact' \ No newline at end of file From 253bb681ac760eb828cd6ef07c0a0de3b2c85efc Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 20:42:38 +0200 Subject: [PATCH 125/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1d7f8239..ab7f7686 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -77,7 +77,7 @@ steps: ls -al echo "*** Hole pdb" cd .. - cp /home/vsts/*pdb uplink-c + find /home/vsts/ -type f | grep -i pdb$ | xargs -i cp {} uplink-c displayName: 'Test-Generate Win-ARM' - task: PublishPipelineArtifact@1 From 1d13fa0ddc773daf7ac5e3f074f336dce1cb66b3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 21:05:57 +0200 Subject: [PATCH 126/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ab7f7686..684decbf 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,7 +30,30 @@ steps: - script: | ls ls uplink-c - + #rm uplink-c/util.go + rm uplink-c/upload.go + #rm uplink-c/scope.go + rm uplink-c/restrict_scope_helper.go + rm uplink-c/project.go + rm uplink-c/objects.go + rm uplink-c/object.go + rm uplink-c/multipart.go + #rm uplink-c/handles_test.go + #rm uplink-c/handles.go + rm uplink-c/error.go + rm uplink-c/encryption.go + rm uplink-c/edge_share.go + rm uplink-c/edge_access.go + rm uplink-c/download.go + #rm uplink-c/custommetadata_test.go + #rm uplink-c/custommetadata.go + rm uplink-c/custom_metadata_helper.go + rm uplink-c/config.go + rm uplink-c/buckets.go + rm uplink-c/bucket.go + rm uplink-c/access.go + echo "deleted" + ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' From 7491654eeca58c8209fdbb30191cebe688200247 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 21:24:08 +0200 Subject: [PATCH 127/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add util.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 684decbf..7832f5fe 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,7 +30,7 @@ steps: - script: | ls ls uplink-c - #rm uplink-c/util.go + rm uplink-c/util.go rm uplink-c/upload.go #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go From 54604353fe7393bb82fed47f30f3da16da233983 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 21:30:27 +0200 Subject: [PATCH 128/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add scope.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7832f5fe..c35f8a91 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -32,7 +32,7 @@ steps: ls uplink-c rm uplink-c/util.go rm uplink-c/upload.go - #rm uplink-c/scope.go + rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go rm uplink-c/project.go rm uplink-c/objects.go From 4a1967bb631061f9b1063a13a5fec4a9560d5879 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 9 Oct 2021 21:34:38 +0200 Subject: [PATCH 129/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add error.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c35f8a91..3b458844 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,9 +30,9 @@ steps: - script: | ls ls uplink-c - rm uplink-c/util.go + #rm uplink-c/util.go rm uplink-c/upload.go - rm uplink-c/scope.go + #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go rm uplink-c/project.go rm uplink-c/objects.go @@ -40,7 +40,7 @@ steps: rm uplink-c/multipart.go #rm uplink-c/handles_test.go #rm uplink-c/handles.go - rm uplink-c/error.go + #rm uplink-c/error.go rm uplink-c/encryption.go rm uplink-c/edge_share.go rm uplink-c/edge_access.go From ee01665d83361b6dd7b97618abe4f2d451e62fe4 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sun, 10 Oct 2021 13:15:03 +0200 Subject: [PATCH 130/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3b458844..3bfa5918 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -36,7 +36,7 @@ steps: rm uplink-c/restrict_scope_helper.go rm uplink-c/project.go rm uplink-c/objects.go - rm uplink-c/object.go + #rm uplink-c/object.go rm uplink-c/multipart.go #rm uplink-c/handles_test.go #rm uplink-c/handles.go From f71f0a0ff5980101071d3f75681da25ec7285bbb Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sun, 10 Oct 2021 13:19:15 +0200 Subject: [PATCH 131/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove object, add project instead --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3bfa5918..1a79faa3 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -34,9 +34,9 @@ steps: rm uplink-c/upload.go #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go - rm uplink-c/project.go + #rm uplink-c/project.go rm uplink-c/objects.go - #rm uplink-c/object.go + rm uplink-c/object.go rm uplink-c/multipart.go #rm uplink-c/handles_test.go #rm uplink-c/handles.go From 0cd2b67e27e820c01182b06512e5678374a84264 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 09:52:15 +0200 Subject: [PATCH 132/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1a79faa3..0546bd9e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -51,7 +51,7 @@ steps: rm uplink-c/config.go rm uplink-c/buckets.go rm uplink-c/bucket.go - rm uplink-c/access.go + #rm uplink-c/access.go echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From 2b55d63b0e6152d1fff9dae55b1e2ae438854372 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 09:55:14 +0200 Subject: [PATCH 133/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add encryption.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0546bd9e..99b647d7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -41,7 +41,7 @@ steps: #rm uplink-c/handles_test.go #rm uplink-c/handles.go #rm uplink-c/error.go - rm uplink-c/encryption.go + #rm uplink-c/encryption.go rm uplink-c/edge_share.go rm uplink-c/edge_access.go rm uplink-c/download.go From 01845eefd90b71afdaeb85e2d54c35b1fd32d19e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:15:27 +0200 Subject: [PATCH 134/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove project.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 99b647d7..14a4aa8a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -34,7 +34,7 @@ steps: rm uplink-c/upload.go #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go - #rm uplink-c/project.go + rm uplink-c/project.go rm uplink-c/objects.go rm uplink-c/object.go rm uplink-c/multipart.go From 6f138cbeb5f5cb82ad253dc7e3d1052ce2876fb5 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:19:14 +0200 Subject: [PATCH 135/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 14a4aa8a..ce551407 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -51,7 +51,7 @@ steps: rm uplink-c/config.go rm uplink-c/buckets.go rm uplink-c/bucket.go - #rm uplink-c/access.go + rm uplink-c/access.go echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From a50232ae168ad433a488f0d240aefbd2d7bd95b3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:23:08 +0200 Subject: [PATCH 136/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add access.go => not working --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ce551407..14a4aa8a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -51,7 +51,7 @@ steps: rm uplink-c/config.go rm uplink-c/buckets.go rm uplink-c/bucket.go - rm uplink-c/access.go + #rm uplink-c/access.go echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From 3ddde681e716f4195035d53c1c55f9bbcbeb2a28 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:31:51 +0200 Subject: [PATCH 137/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove lines 22-223 in access.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 14a4aa8a..85466d13 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,6 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go + sed '22,223d' uplink-c/access.go echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From 0e49220b6db2d5a580185398f1a180131b7dc1ed Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:35:54 +0200 Subject: [PATCH 138/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines pipe into file --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 85466d13..cfdf6adf 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed '22,223d' uplink-c/access.go + sed '22,223d' uplink-c/access.go > uplink-c/access.go echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From 4c5974d4a72259f34bfe1bc979be3f17a4648cae Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:38:35 +0200 Subject: [PATCH 139/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cfdf6adf..ef5acff7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed '22,223d' uplink-c/access.go > uplink-c/access.go + sed -i uplink-c/access.go -re '22,223d' echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From cb15e0ec710841d573b62d271fb21034b86ede58 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:41:25 +0200 Subject: [PATCH 140/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add uplink_parse_access --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ef5acff7..3873715a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/access.go -re '22,223d' + sed -i uplink-c/access.go -re '37,223d' echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From 7327480475a6791ed3ab81b83a2f9aa0bdd8240a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:44:29 +0200 Subject: [PATCH 141/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3873715a..82846d06 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,6 +53,7 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go sed -i uplink-c/access.go -re '37,223d' + sed -i uplink-c/access.go -re '9,12d' echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From e3a54127e55fe325c179806c5fdefe2433055467 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:48:27 +0200 Subject: [PATCH 142/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add "context" and "uplink_request_access_with_passphrase" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 82846d06..cb1ead59 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,8 +52,8 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/access.go -re '37,223d' - sed -i uplink-c/access.go -re '9,12d' + sed -i uplink-c/access.go -re '69,223d' + sed -i uplink-c/access.go -re '10,12d' echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From bfa5621e9e1db5ac97369cb07907d21d8fb23812 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:52:35 +0200 Subject: [PATCH 143/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cb1ead59..5d40c3ef 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,6 +54,7 @@ steps: #rm uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' sed -i uplink-c/access.go -re '10,12d' + sed -i uplink-c/access.go -re '56,62d' echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From e3808531efffc11115889a071bf0f349604c1102 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:54:16 +0200 Subject: [PATCH 144/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5d40c3ef..f1ca3d68 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,7 +53,7 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' - sed -i uplink-c/access.go -re '10,12d' + sed -i uplink-c/access.go -re '9,12d' sed -i uplink-c/access.go -re '56,62d' echo "deleted" ls uplink-c From 210e983ba111a7b641b6b944d582d1d4e5c1d9c1 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:57:07 +0200 Subject: [PATCH 145/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f1ca3d68..73922c43 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,8 +53,8 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' - sed -i uplink-c/access.go -re '9,12d' sed -i uplink-c/access.go -re '56,62d' + sed -i uplink-c/access.go -re '9,12d' echo "deleted" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From ff880d8fb50e94b2b19bc974a5795251e6690ae6 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 10:57:41 +0200 Subject: [PATCH 146/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 73922c43..2bf120df 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -55,7 +55,9 @@ steps: sed -i uplink-c/access.go -re '69,223d' sed -i uplink-c/access.go -re '56,62d' sed -i uplink-c/access.go -re '9,12d' - echo "deleted" + echo "*** hier kommt die Maus ***" + cat uplink-c/access.go + echo "*** deleted ***" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' From 59092faa8f4d97899dab677ae7b0a9b69c1fb859 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:01:27 +0200 Subject: [PATCH 147/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 2bf120df..a57a1215 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,6 +53,7 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' + sed -i uplink-c/access.go -re '65,65d' sed -i uplink-c/access.go -re '56,62d' sed -i uplink-c/access.go -re '9,12d' echo "*** hier kommt die Maus ***" From f9239de36b57318b09b5c19b2be59e8d2d013a8f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:06:25 +0200 Subject: [PATCH 148/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add line 56 "ctx := context.Background()" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a57a1215..d882d266 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,7 +54,7 @@ steps: #rm uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' sed -i uplink-c/access.go -re '65,65d' - sed -i uplink-c/access.go -re '56,62d' + sed -i uplink-c/access.go -re '57,62d' sed -i uplink-c/access.go -re '9,12d' echo "*** hier kommt die Maus ***" cat uplink-c/access.go From 45a415cd9cae393f4be916d63aac595fb3092b05 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:08:40 +0200 Subject: [PATCH 149/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add "context" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d882d266..3a6ae48b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -55,7 +55,7 @@ steps: sed -i uplink-c/access.go -re '69,223d' sed -i uplink-c/access.go -re '65,65d' sed -i uplink-c/access.go -re '57,62d' - sed -i uplink-c/access.go -re '9,12d' + sed -i uplink-c/access.go -re '10,12d' echo "*** hier kommt die Maus ***" cat uplink-c/access.go echo "*** deleted ***" From 7e17c72f200e6e3c251aad91c1af2949096ffb49 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:13:56 +0200 Subject: [PATCH 150/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add "_ = ctx" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3a6ae48b..15a6cd87 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,6 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go + sed -i '62s/.*/_ = ctx/' uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' sed -i uplink-c/access.go -re '65,65d' sed -i uplink-c/access.go -re '57,62d' From e41d9171cabd84e9e82328eacd597242c9cefc24 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:16:59 +0200 Subject: [PATCH 151/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 15a6cd87..3fdff24f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -55,7 +55,7 @@ steps: sed -i '62s/.*/_ = ctx/' uplink-c/access.go sed -i uplink-c/access.go -re '69,223d' sed -i uplink-c/access.go -re '65,65d' - sed -i uplink-c/access.go -re '57,62d' + sed -i uplink-c/access.go -re '57,61d' sed -i uplink-c/access.go -re '10,12d' echo "*** hier kommt die Maus ***" cat uplink-c/access.go From 8ef2e999b4544fc8cb4810bcb3de48f6972b9d11 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:25:06 +0200 Subject: [PATCH 152/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines only exclude "uplink_request_access_with_passphrase" --- .../azure-pipelines-build-win-arm.yml | 29 ++----------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3fdff24f..3d8d4a3d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,33 +30,8 @@ steps: - script: | ls ls uplink-c - #rm uplink-c/util.go - rm uplink-c/upload.go - #rm uplink-c/scope.go - rm uplink-c/restrict_scope_helper.go - rm uplink-c/project.go - rm uplink-c/objects.go - rm uplink-c/object.go - rm uplink-c/multipart.go - #rm uplink-c/handles_test.go - #rm uplink-c/handles.go - #rm uplink-c/error.go - #rm uplink-c/encryption.go - rm uplink-c/edge_share.go - rm uplink-c/edge_access.go - rm uplink-c/download.go - #rm uplink-c/custommetadata_test.go - #rm uplink-c/custommetadata.go - rm uplink-c/custom_metadata_helper.go - rm uplink-c/config.go - rm uplink-c/buckets.go - rm uplink-c/bucket.go - #rm uplink-c/access.go - sed -i '62s/.*/_ = ctx/' uplink-c/access.go - sed -i uplink-c/access.go -re '69,223d' - sed -i uplink-c/access.go -re '65,65d' - sed -i uplink-c/access.go -re '57,61d' - sed -i uplink-c/access.go -re '10,12d' + + sed -i uplink-c/access.go -re '37,67d' echo "*** hier kommt die Maus ***" cat uplink-c/access.go echo "*** deleted ***" From f0d1ce316762f9d9d3ddad41376a1c6ccbe7dcfa Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:27:43 +0200 Subject: [PATCH 153/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove "context" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3d8d4a3d..1b1b5193 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -32,6 +32,7 @@ steps: ls uplink-c sed -i uplink-c/access.go -re '37,67d' + sed -i uplink-c/access.go -re '9,9d' echo "*** hier kommt die Maus ***" cat uplink-c/access.go echo "*** deleted ***" From c415daefa6e6ec2cf5abb67cafe7b8cc2fb41d63 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:32:20 +0200 Subject: [PATCH 154/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove other go files again --- .../azure-pipelines-build-win-arm.yml | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1b1b5193..10414cf6 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,7 +30,28 @@ steps: - script: | ls ls uplink-c - + #rm uplink-c/util.go + rm uplink-c/upload.go + #rm uplink-c/scope.go + rm uplink-c/restrict_scope_helper.go + rm uplink-c/project.go + rm uplink-c/objects.go + rm uplink-c/object.go + rm uplink-c/multipart.go + #rm uplink-c/handles_test.go + #rm uplink-c/handles.go + #rm uplink-c/error.go + #rm uplink-c/encryption.go + rm uplink-c/edge_share.go + rm uplink-c/edge_access.go + rm uplink-c/download.go + #rm uplink-c/custommetadata_test.go + #rm uplink-c/custommetadata.go + rm uplink-c/custom_metadata_helper.go + rm uplink-c/config.go + rm uplink-c/buckets.go + rm uplink-c/bucket.go + #rm uplink-c/access.go sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' echo "*** hier kommt die Maus ***" From 3e99000204410fbe002947c730bb99170b18278a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:36:09 +0200 Subject: [PATCH 155/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add config.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 10414cf6..afd0f024 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -48,7 +48,7 @@ steps: #rm uplink-c/custommetadata_test.go #rm uplink-c/custommetadata.go rm uplink-c/custom_metadata_helper.go - rm uplink-c/config.go + #rm uplink-c/config.go rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go From 5eb02822e980f76f416be49d20e28be50708d6fa Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:39:53 +0200 Subject: [PATCH 156/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add project.go coming from config.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index afd0f024..a9714155 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -34,7 +34,7 @@ steps: rm uplink-c/upload.go #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go - rm uplink-c/project.go + #rm uplink-c/project.go rm uplink-c/objects.go rm uplink-c/object.go rm uplink-c/multipart.go From aed6c4464a5e3ab21d199eeb70d08b5816896c63 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:44:33 +0200 Subject: [PATCH 157/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove "uplink_config_request_access_with_passphrase" from config.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a9714155..d8f8ffdf 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,6 +54,8 @@ steps: #rm uplink-c/access.go sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' + sed -i uplink-c/config.go -re '15,48d' + sed -i uplink-c/config.go -re '9,9d' echo "*** hier kommt die Maus ***" cat uplink-c/access.go echo "*** deleted ***" From 5dc28dbd6a7d082f0b57d23f71b8c84e7f753afe Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:47:21 +0200 Subject: [PATCH 158/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add all go-files again --- .../azure-pipelines-build-win-arm.yml | 23 +------------------ 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d8f8ffdf..011ed3ff 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,28 +30,7 @@ steps: - script: | ls ls uplink-c - #rm uplink-c/util.go - rm uplink-c/upload.go - #rm uplink-c/scope.go - rm uplink-c/restrict_scope_helper.go - #rm uplink-c/project.go - rm uplink-c/objects.go - rm uplink-c/object.go - rm uplink-c/multipart.go - #rm uplink-c/handles_test.go - #rm uplink-c/handles.go - #rm uplink-c/error.go - #rm uplink-c/encryption.go - rm uplink-c/edge_share.go - rm uplink-c/edge_access.go - rm uplink-c/download.go - #rm uplink-c/custommetadata_test.go - #rm uplink-c/custommetadata.go - rm uplink-c/custom_metadata_helper.go - #rm uplink-c/config.go - rm uplink-c/buckets.go - rm uplink-c/bucket.go - #rm uplink-c/access.go + sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '15,48d' From 0e6e668926d1a5cec164d96924811e1437657289 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:48:42 +0200 Subject: [PATCH 159/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove projects.go --- .../azure-pipelines-build-win-arm.yml | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 011ed3ff..bbaaa63e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -30,7 +30,28 @@ steps: - script: | ls ls uplink-c - + #rm uplink-c/util.go + rm uplink-c/upload.go + #rm uplink-c/scope.go + rm uplink-c/restrict_scope_helper.go + rm uplink-c/project.go + rm uplink-c/objects.go + rm uplink-c/object.go + rm uplink-c/multipart.go + #rm uplink-c/handles_test.go + #rm uplink-c/handles.go + #rm uplink-c/error.go + #rm uplink-c/encryption.go + rm uplink-c/edge_share.go + rm uplink-c/edge_access.go + rm uplink-c/download.go + #rm uplink-c/custommetadata_test.go + #rm uplink-c/custommetadata.go + rm uplink-c/custom_metadata_helper.go + #rm uplink-c/config.go + rm uplink-c/buckets.go + rm uplink-c/bucket.go + #rm uplink-c/access.go sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '15,48d' From 7c075ccbb36c4a1a066c0f745abe652c00130f55 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:52:06 +0200 Subject: [PATCH 160/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove "uplink_config_open_project" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index bbaaa63e..fad9fa4f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,6 +54,7 @@ steps: #rm uplink-c/access.go sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' + sed -i uplink-c/config.go -re '50,79d' sed -i uplink-c/config.go -re '15,48d' sed -i uplink-c/config.go -re '9,9d' echo "*** hier kommt die Maus ***" From e01200f99b1707394352e50c588bbf4a267492c9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 11:55:27 +0200 Subject: [PATCH 161/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add project.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index fad9fa4f..70fab662 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -34,7 +34,7 @@ steps: rm uplink-c/upload.go #rm uplink-c/scope.go rm uplink-c/restrict_scope_helper.go - rm uplink-c/project.go + #rm uplink-c/project.go rm uplink-c/objects.go rm uplink-c/object.go rm uplink-c/multipart.go From a7c91862f5cab164f6f2e41408aa085cc2fbb7cd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:00:28 +0200 Subject: [PATCH 162/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines only leave "uplink_open_project" in project.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 70fab662..13eb66ba 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,6 +52,8 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go + sed -i uplink-c/project.go -re '51,91d' + sed -i uplink-c/project.go -re '9,9d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '50,79d' From e6ebc8cb039efe310d0df2b150dbecc7002b0ac4 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:04:27 +0200 Subject: [PATCH 163/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove only "uplink_open_project" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 13eb66ba..12d90540 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,8 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/project.go -re '51,91d' - sed -i uplink-c/project.go -re '9,9d' + sed -i uplink-c/project.go -re '20,49d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '50,79d' From 595bda6fe70d4677e73329a7c4a21696c9473f00 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:08:44 +0200 Subject: [PATCH 164/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines only leave "freeProject" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 12d90540..11f0610d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/project.go -re '20,49d' + sed -i uplink-c/project.go -re '20,72d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '50,79d' From 870019ce190b25841370a64abb72810588b0bbb9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:12:28 +0200 Subject: [PATCH 165/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines only remove "uplink_open_project" and "uplink_close_project" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 11f0610d..f3b1ad4f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/project.go -re '20,72d' + sed -i uplink-c/project.go -re '20,64d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '50,79d' From acb22728987a862a7497690a8fffad55ad3e1031 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:14:37 +0200 Subject: [PATCH 166/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f3b1ad4f..737c29ae 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/project.go -re '20,64d' + sed -i uplink-c/project.go -re '20,65d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '50,79d' From 11ea2c320d52959b68b592bad1b0ff2749501fb0 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:18:45 +0200 Subject: [PATCH 167/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove "uplink_free_error(result.error)" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 737c29ae..ed1add13 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,6 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go + sed -i uplink-c/project.go -re '70,70d' sed -i uplink-c/project.go -re '20,65d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From c811e6954caaa5d64d6f03f55f56b9ba564473ca Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:22:52 +0200 Subject: [PATCH 168/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ed1add13..9cccd14e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,7 +52,7 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/project.go -re '70,70d' + sed -i uplink-c/project.go -re '71,71d' sed -i uplink-c/project.go -re '20,65d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From b4214ec6904ab76b49b3b59e754d7137074d8974 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:27:28 +0200 Subject: [PATCH 169/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add "uplink_close_project" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9cccd14e..bfe3dbf7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,7 +53,7 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go sed -i uplink-c/project.go -re '71,71d' - sed -i uplink-c/project.go -re '20,65d' + sed -i uplink-c/project.go -re '20,49d' sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' sed -i uplink-c/config.go -re '50,79d' From b86cf29b36ce6a8bd44609a13e7f71936972eec9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:35:00 +0200 Subject: [PATCH 170/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines comments --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index bfe3dbf7..19d513b7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,13 +52,21 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go + #Remove freeProject-call from uplink_free_project_result sed -i uplink-c/project.go -re '71,71d' - sed -i uplink-c/project.go -re '20,49d' + #Remove uplink_close_project und uplink_open_project [rootScope] + sed -i uplink-c/project.go -re '20,65d' + #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' + + #Remove uplink_config_open_project [rootScope] sed -i uplink-c/config.go -re '50,79d' + + #uplink_config_request_access_with_passphrase and "context" sed -i uplink-c/config.go -re '15,48d' sed -i uplink-c/config.go -re '9,9d' + echo "*** hier kommt die Maus ***" cat uplink-c/access.go echo "*** deleted ***" From fbf2ff45c3f5002f94ed27097937e117727e4398 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:38:29 +0200 Subject: [PATCH 171/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove call to "proj.Cancel", reenable freeProject --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 19d513b7..8f512a94 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,7 +53,8 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result - sed -i uplink-c/project.go -re '71,71d' + #sed -i uplink-c/project.go -re '71,71d' + sed -i uplink-c/project.go -re '87,87d' #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" From 8b6a5899e60f1a7b2680e5dc9f5a4974e6e23554 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 12:42:11 +0200 Subject: [PATCH 172/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove freeProject lines 82-90 --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8f512a94..f805f343 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,7 +54,7 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' - sed -i uplink-c/project.go -re '87,87d' + sed -i uplink-c/project.go -re '82,90d' #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" From 1e4174c939146fb6d4468f8d5863a1e69ef5151c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 13:32:24 +0200 Subject: [PATCH 173/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines re-add call to universe.get --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index f805f343..162d3783 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,6 +54,7 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' + sed -i '81s/.*/_,_ := universe.Get(project._handle).(*Project)/' uplink-c/project.go sed -i uplink-c/project.go -re '82,90d' #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' @@ -69,7 +70,7 @@ steps: sed -i uplink-c/config.go -re '9,9d' echo "*** hier kommt die Maus ***" - cat uplink-c/access.go + cat uplink-c/project.go echo "*** deleted ***" ls uplink-c #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c From 72972902873072fd0584370aec0ac7177136c124 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 13:34:53 +0200 Subject: [PATCH 174/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 162d3783..ab55f991 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,8 +54,8 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' - sed -i '81s/.*/_,_ := universe.Get(project._handle).(*Project)/' uplink-c/project.go - sed -i uplink-c/project.go -re '82,90d' + sed -i '81s/.*/_, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go + sed -i uplink-c/project.go -re '87,90d' #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" From 2b8590064d0599c8d61f91dc78bc9ad76f3cf210 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 13:38:02 +0200 Subject: [PATCH 175/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ab55f991..cd337f34 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,6 +54,7 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' + sed -i uplink-c/project.go -re '82,82d' sed -i '81s/.*/_, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go sed -i uplink-c/project.go -re '87,90d' #Remove uplink_close_project und uplink_open_project [rootScope] From 0b5581ac58b88548562c8a118d366816caa47b4c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 13:40:29 +0200 Subject: [PATCH 176/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cd337f34..025aba49 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,9 +54,10 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' + sed -i uplink-c/project.go -re '87,90d' sed -i uplink-c/project.go -re '82,82d' sed -i '81s/.*/_, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go - sed -i uplink-c/project.go -re '87,90d' + #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" From 663ad67344e3a05bd7d075b0dbb26f5a4a61fb09 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 13:44:26 +0200 Subject: [PATCH 177/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 025aba49..cc6095a6 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,7 +54,7 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' - sed -i uplink-c/project.go -re '87,90d' + sed -i uplink-c/project.go -re '87,88d' sed -i uplink-c/project.go -re '82,82d' sed -i '81s/.*/_, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go From f31427a8872354fcd95d49dad565e7667189e956 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 13:46:29 +0200 Subject: [PATCH 178/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cc6095a6..67be89cf 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -56,7 +56,7 @@ steps: #sed -i uplink-c/project.go -re '71,71d' sed -i uplink-c/project.go -re '87,88d' sed -i uplink-c/project.go -re '82,82d' - sed -i '81s/.*/_, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go + sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' From ed35f255ff75935ff365cb9e5e176974196def34 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 14:36:12 +0200 Subject: [PATCH 179/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add GODEBUG=inittrace=1 --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 67be89cf..4679ef34 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -116,6 +116,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" + export GODEBUG="inittrace=1" go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al From 22f23a4a7f797df6d70c2de91b053b057100fe18 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 14:45:20 +0200 Subject: [PATCH 180/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove gotrace, add gcflags --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 4679ef34..0127123e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -116,8 +116,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - export GODEBUG="inittrace=1" - go build -ldflags="-s -w" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 9c31fe3fa47aa2e5b2ce17a564b9b28c4275a037 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 14:53:06 +0200 Subject: [PATCH 181/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add open_project --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0127123e..c488e82a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -65,7 +65,7 @@ steps: sed -i uplink-c/access.go -re '9,9d' #Remove uplink_config_open_project [rootScope] - sed -i uplink-c/config.go -re '50,79d' + #sed -i uplink-c/config.go -re '50,79d' #uplink_config_request_access_with_passphrase and "context" sed -i uplink-c/config.go -re '15,48d' From 56bc27c86e2f28107ecd0713be75f0abdd627494 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 14:54:02 +0200 Subject: [PATCH 182/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines access with passphrase --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c488e82a..9f057c7f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -61,11 +61,11 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" - sed -i uplink-c/access.go -re '37,67d' - sed -i uplink-c/access.go -re '9,9d' + #sed -i uplink-c/access.go -re '37,67d' + #sed -i uplink-c/access.go -re '9,9d' #Remove uplink_config_open_project [rootScope] - #sed -i uplink-c/config.go -re '50,79d' + sed -i uplink-c/config.go -re '50,79d' #uplink_config_request_access_with_passphrase and "context" sed -i uplink-c/config.go -re '15,48d' From 124be2e4de5dfd161dd68e48bea1b6db04555f74 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 14:59:28 +0200 Subject: [PATCH 183/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9f057c7f..384b8b60 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -54,15 +54,15 @@ steps: #rm uplink-c/access.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' - sed -i uplink-c/project.go -re '87,88d' - sed -i uplink-c/project.go -re '82,82d' - sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go + #sed -i uplink-c/project.go -re '87,88d' + #sed -i uplink-c/project.go -re '82,82d' + #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" - #sed -i uplink-c/access.go -re '37,67d' - #sed -i uplink-c/access.go -re '9,9d' + sed -i uplink-c/access.go -re '37,67d' + sed -i uplink-c/access.go -re '9,9d' #Remove uplink_config_open_project [rootScope] sed -i uplink-c/config.go -re '50,79d' From 70be7e75ec96767c019b2b05f1f0f5a5ae025dfa Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 15:05:33 +0200 Subject: [PATCH 184/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines re-add uplink_closE_project --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 384b8b60..31ad3313 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -59,7 +59,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,65d' + sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From b8c8fb713c945a8690511c8544ea0747d785677f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 15:09:49 +0200 Subject: [PATCH 185/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines complete project.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 31ad3313..88858682 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -59,7 +59,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,49d' + #sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 90f32fd52beb6dcb5a87d6eba21edc32672fee42 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 20:29:04 +0200 Subject: [PATCH 186/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add GODEBUG=inittrace=1 --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 88858682..86816ecc 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -116,6 +116,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" + export GODEBUG=inittrace=1 go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al From 54a299a26a4711028a8220c974d4ec903f6b39f7 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 21:01:52 +0200 Subject: [PATCH 187/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines test stderr --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 86816ecc..cf3989b0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -57,9 +57,12 @@ steps: #sed -i uplink-c/project.go -re '87,88d' #sed -i uplink-c/project.go -re '82,82d' #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go - + sed -i '17s/.*/fmt.Fprintf(os.Stderr, "this is stderr\n")/' uplink-c/main.go + sed -i '18s/.*/return universe.Empty()/' uplink-c/main.go + sed -i '19s/.*/}/' uplink-c/main.go + cat uplink-c/main.go #Remove uplink_close_project und uplink_open_project [rootScope] - #sed -i uplink-c/project.go -re '20,49d' + sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 3be28208719cbcd8eea36a8cc9a8c401badbb970 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 21:06:14 +0200 Subject: [PATCH 188/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines should be a working one --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cf3989b0..9ddba3b8 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -57,10 +57,7 @@ steps: #sed -i uplink-c/project.go -re '87,88d' #sed -i uplink-c/project.go -re '82,82d' #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go - sed -i '17s/.*/fmt.Fprintf(os.Stderr, "this is stderr\n")/' uplink-c/main.go - sed -i '18s/.*/return universe.Empty()/' uplink-c/main.go - sed -i '19s/.*/}/' uplink-c/main.go - cat uplink-c/main.go + #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" From 459e67d655d0b0372ed8f383ed7bafd200d6ee51 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 11 Oct 2021 21:08:53 +0200 Subject: [PATCH 189/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines should fail --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9ddba3b8..86816ecc 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -59,7 +59,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,49d' + #sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 12c79e8cebc4fffeed8e73d3a2e67cb25700309e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 09:49:56 +0200 Subject: [PATCH 190/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines try 32bit --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 86816ecc..1a06d530 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -103,9 +103,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch32-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch32-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar From 1c9a8b8b93e0206518b37cecb407623c18e7008d Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 09:52:38 +0200 Subject: [PATCH 191/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1a06d530..0525aeb7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -103,9 +103,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch32-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target arm-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch32-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target arm-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar @@ -116,7 +116,7 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - export GODEBUG=inittrace=1 + #export GODEBUG=inittrace=1 go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al From defcd022b145a8d2415218ec3f4c4466221651ef Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 09:54:47 +0200 Subject: [PATCH 192/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0525aeb7..2b1b7183 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -103,9 +103,9 @@ steps: #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target arm-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target arm-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx + echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar @@ -113,7 +113,7 @@ steps: export CXX="zxx" export AR="zar" export GOOS="windows" - export GOARCH="arm64" + export GOARCH="arm" export GOARM=7 export CGO_ENABLED="1" #export GODEBUG=inittrace=1 From 696f14fac13a261d5f5ad6a7f60a9f1bf490c9a4 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 09:56:34 +0200 Subject: [PATCH 193/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 2b1b7183..ebfdbaad 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -113,7 +113,7 @@ steps: export CXX="zxx" export AR="zar" export GOOS="windows" - export GOARCH="arm" + export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" #export GODEBUG=inittrace=1 From 4c5ab3bdf37cab3cead47dfe8bbc0b544693f638 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:12:11 +0200 Subject: [PATCH 194/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines Remove lines 21-25,9 from scope.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index ebfdbaad..1888eec4 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -52,6 +52,10 @@ steps: rm uplink-c/buckets.go rm uplink-c/bucket.go #rm uplink-c/access.go + + sed -i uplink-c/scope.go -re '21,25d' + sed -i uplink-c/scope.go -re '9,9d' + #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' #sed -i uplink-c/project.go -re '87,88d' From 2f3743e40a00dafd126ce877d35c7f4af093b331 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:16:46 +0200 Subject: [PATCH 195/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1888eec4..70df13a6 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,17 +53,17 @@ steps: rm uplink-c/bucket.go #rm uplink-c/access.go - sed -i uplink-c/scope.go -re '21,25d' - sed -i uplink-c/scope.go -re '9,9d' + #sed -i uplink-c/scope.go -re '21,25d' + #sed -i uplink-c/scope.go -re '9,9d' #Remove freeProject-call from uplink_free_project_result - #sed -i uplink-c/project.go -re '71,71d' - #sed -i uplink-c/project.go -re '87,88d' - #sed -i uplink-c/project.go -re '82,82d' - #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go + sed -i uplink-c/project.go -re '71,71d' + sed -i uplink-c/project.go -re '87,88d' + sed -i uplink-c/project.go -re '82,82d' + sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - #sed -i uplink-c/project.go -re '20,49d' + sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 947253853c4b0a98a99d469b493a0ca05aa6d8de Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:20:31 +0200 Subject: [PATCH 196/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 70df13a6..52e5f1e7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -58,12 +58,12 @@ steps: #Remove freeProject-call from uplink_free_project_result sed -i uplink-c/project.go -re '71,71d' - sed -i uplink-c/project.go -re '87,88d' - sed -i uplink-c/project.go -re '82,82d' - sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go + #sed -i uplink-c/project.go -re '87,88d' + #sed -i uplink-c/project.go -re '82,82d' + #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,49d' + sed -i uplink-c/project.go -re '20,64d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 06735b681a51baf49f0add92c076a3ac23907565 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:23:21 +0200 Subject: [PATCH 197/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 52e5f1e7..2e477313 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -63,7 +63,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,64d' + sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 6483b81915a3fee75ab118e37ab5a68a1fbc978f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:32:16 +0200 Subject: [PATCH 198/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 2e477313..3bc7c060 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -56,6 +56,7 @@ steps: #sed -i uplink-c/scope.go -re '21,25d' #sed -i uplink-c/scope.go -re '9,9d' + #Remove freeProject-call from uplink_free_project_result sed -i uplink-c/project.go -re '71,71d' #sed -i uplink-c/project.go -re '87,88d' @@ -63,7 +64,18 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,65d' + sed -i uplink-c/project.go -re '51,65d' + sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go + sed -i '24s/.*/if scope == nil {/' uplink-c/project.go + sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go + sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go + sed -i '27s/.*/}/' uplink-c/project.go + sed -i '28s/.*/}/' uplink-c/project.go + sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go + sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go + sed -i '31s/.*/}/' uplink-c/project.go + sed -i uplink-c/project.go -re '32,48d' + #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' sed -i uplink-c/access.go -re '9,9d' From 9d8c7ad69e8bf8ed786949cadac746a4f7c4d98e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:35:00 +0200 Subject: [PATCH 199/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3bc7c060..3a52b4f3 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,7 +66,7 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '51,65d' sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go - sed -i '24s/.*/if scope == nil {/' uplink-c/project.go + sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go From 37282b96bb22792845587780611a23e818d7b122 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:44:34 +0200 Subject: [PATCH 200/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 3a52b4f3..392f6683 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -65,6 +65,10 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '51,65d' + + sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go + + sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go @@ -72,7 +76,7 @@ steps: sed -i '27s/.*/}/' uplink-c/project.go sed -i '28s/.*/}/' uplink-c/project.go sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go + sed -i '30s/.*/error: mallocError(ErrNull.New(memory.ParseString("access"))),/' uplink-c/project.go sed -i '31s/.*/}/' uplink-c/project.go sed -i uplink-c/project.go -re '32,48d' From 27694f71dbacc875de60b26f665ee8ef4d106d7c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:53:28 +0200 Subject: [PATCH 201/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 392f6683..92057a8a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,8 +66,11 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '51,65d' + echo "set memory 1" sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go - + echo "set memory 2" + sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go + echo "set memory done" sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From 98f520df98e7377c3044159c2b5c73a3594b01dd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:56:32 +0200 Subject: [PATCH 202/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 92057a8a..d1ca282d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go + sed -i '10s/.*/ "storj.io/common/memory"/' uplink-c/project.go echo "set memory 2" sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go echo "set memory done" From c1ce193e02d63624eb5f68a46d667f67de9792fd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 10:58:05 +0200 Subject: [PATCH 203/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d1ca282d..5e4d8a07 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/ "storj.io/common/memory"/' uplink-c/project.go + sed -i '10s/.*/""storj.io/common/memory""/' uplink-c/project.go echo "set memory 2" sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go echo "set memory done" From 91032f2e0318414bc8b29774e8a9475331ecdaed Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:00:06 +0200 Subject: [PATCH 204/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5e4d8a07..eaf68dcd 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/""storj.io/common/memory""/' uplink-c/project.go + sed -i '10s/.*/storj.io/common/memory/' uplink-c/project.go echo "set memory 2" sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go echo "set memory done" From 445dd0ed17fd70e03b6d0e2a754731c7175c2601 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:01:36 +0200 Subject: [PATCH 205/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index eaf68dcd..8d21c12a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,10 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/storj.io/common/memory/' uplink-c/project.go - echo "set memory 2" - sed -i '10s/.*/"storj.io/common/memory"/' uplink-c/project.go - echo "set memory done" + sed -i '10s/.*/"storj.io\/common\/memory\/"' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From b608d4a2c21ff5facaaa248984becf3958a03825 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:02:48 +0200 Subject: [PATCH 206/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8d21c12a..264e6142 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/"storj.io\/common\/memory\/"' uplink-c/project.go + sed -i '10s/.*/\"storj.io\/common\/memory\/\"' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From 09f4d42ebe9fdab43fbb72e34f33905dd11e84b1 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:07:23 +0200 Subject: [PATCH 207/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 264e6142..9309fca4 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/\"storj.io\/common\/memory\/\"' uplink-c/project.go + sed -i '10s/.*/"storj.io"' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From 3bca0e28ef81e4cde8ffd9aa71437b9e02af7caf Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:08:38 +0200 Subject: [PATCH 208/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9309fca4..bd5544fc 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/"storj.io"' uplink-c/project.go + sed -i '10s/.*/"storj.io\/common\/memory\/"/' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From c9d638e34e4aade3787d39e4d4b426e217158d93 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:10:29 +0200 Subject: [PATCH 209/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index bd5544fc..fd0fcb86 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,7 +67,7 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/"storj.io\/common\/memory\/"/' uplink-c/project.go + sed -i '10s/.*/"storj.io\/common\/memory"/' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From ca055f7efbc551a00482f15f7debdfea21a756ae Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:14:58 +0200 Subject: [PATCH 210/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index fd0fcb86..c82fca1a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -68,6 +68,8 @@ steps: echo "set memory 1" sed -i '10s/.*/"storj.io\/common\/memory"/' uplink-c/project.go + sed -i '12s/.*/"fmt"/' uplink-c/project.go + sed -i '13s/.*/}/' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go @@ -76,7 +78,7 @@ steps: sed -i '27s/.*/}/' uplink-c/project.go sed -i '28s/.*/}/' uplink-c/project.go sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - sed -i '30s/.*/error: mallocError(ErrNull.New(memory.ParseString("access"))),/' uplink-c/project.go + sed -i '30s/.*/error: mallocError(ErrNull.New(fmt.Sprintf("%b",memory.ParseString("access")))),/' uplink-c/project.go sed -i '31s/.*/}/' uplink-c/project.go sed -i uplink-c/project.go -re '32,48d' From f715ca7b1f420beed962286348a3e6c61ee96687 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:18:51 +0200 Subject: [PATCH 211/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c82fca1a..53c98d7f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -69,7 +69,7 @@ steps: echo "set memory 1" sed -i '10s/.*/"storj.io\/common\/memory"/' uplink-c/project.go sed -i '12s/.*/"fmt"/' uplink-c/project.go - sed -i '13s/.*/}/' uplink-c/project.go + sed -i '13s/.*/)/' uplink-c/project.go sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go From b9472ff82ef53701e38b7a91ee1adade115ffd0e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:24:51 +0200 Subject: [PATCH 212/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 53c98d7f..4efde7ea 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -68,17 +68,17 @@ steps: echo "set memory 1" sed -i '10s/.*/"storj.io\/common\/memory"/' uplink-c/project.go - sed -i '12s/.*/"fmt"/' uplink-c/project.go - sed -i '13s/.*/)/' uplink-c/project.go + #sed -i '12s/.*/"fmt"/' uplink-c/project.go + #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/scope := rootScope("")/' uplink-c/project.go - sed -i '24s/.*/if scope.ctx == nil {/' uplink-c/project.go + sed -i '23s/.*/parsed = memory.ParseString("access")/' uplink-c/project.go + sed -i '24s/.*/if parsed > 0 {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go sed -i '28s/.*/}/' uplink-c/project.go sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - sed -i '30s/.*/error: mallocError(ErrNull.New(fmt.Sprintf("%b",memory.ParseString("access")))),/' uplink-c/project.go + sed -i '30s/.*/error: mallocError(ErrNull.New("access"),/' uplink-c/project.go sed -i '31s/.*/}/' uplink-c/project.go sed -i uplink-c/project.go -re '32,48d' From 6134b9009c4ed8a47328d10448cabccc599cc325 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:29:56 +0200 Subject: [PATCH 213/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 4efde7ea..8072dd24 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -72,7 +72,7 @@ steps: #sed -i '13s/.*/)/' uplink-c/project.go sed -i '23s/.*/parsed = memory.ParseString("access")/' uplink-c/project.go - sed -i '24s/.*/if parsed > 0 {/' uplink-c/project.go + sed -i '24s/.*/if ( parsed > 0 ) {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go From 0c824eee54651974fb842a7af2ee890e2be5a456 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:32:46 +0200 Subject: [PATCH 214/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8072dd24..8bde78f0 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -72,7 +72,7 @@ steps: #sed -i '13s/.*/)/' uplink-c/project.go sed -i '23s/.*/parsed = memory.ParseString("access")/' uplink-c/project.go - sed -i '24s/.*/if ( parsed > 0 ) {/' uplink-c/project.go + sed -i '24s/.*/if parsed {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go From 5b323bb795d1188bd448836c21a015ed8d0f6e5d Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:35:28 +0200 Subject: [PATCH 215/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 8bde78f0..12b849f5 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -72,13 +72,13 @@ steps: #sed -i '13s/.*/)/' uplink-c/project.go sed -i '23s/.*/parsed = memory.ParseString("access")/' uplink-c/project.go - sed -i '24s/.*/if parsed {/' uplink-c/project.go + sed -i '24s/.*/if parsed > 0 {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go sed -i '28s/.*/}/' uplink-c/project.go sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - sed -i '30s/.*/error: mallocError(ErrNull.New("access"),/' uplink-c/project.go + sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '31s/.*/}/' uplink-c/project.go sed -i uplink-c/project.go -re '32,48d' From 35a4e1e1819cf917a1b01ae5e3a52c3c0f757d5e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:38:51 +0200 Subject: [PATCH 216/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 12b849f5..67d50c60 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -71,7 +71,7 @@ steps: #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/parsed = memory.ParseString("access")/' uplink-c/project.go + sed -i '23s/.*/parsed,_ = memory.ParseString("access")/' uplink-c/project.go sed -i '24s/.*/if parsed > 0 {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go From aa531f3368d0d2a03c999d8a40c2d91cdf8c2506 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:41:23 +0200 Subject: [PATCH 217/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 67d50c60..a1e4af1b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -71,8 +71,8 @@ steps: #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/parsed,_ = memory.ParseString("access")/' uplink-c/project.go - sed -i '24s/.*/if parsed > 0 {/' uplink-c/project.go + sed -i '23s/.*/_,err = memory.ParseString("access")/' uplink-c/project.go + sed -i '24s/.*/if err != nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go From 65e6ef724bd3b878caa25efca827cc61cd3c6e0c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:43:43 +0200 Subject: [PATCH 218/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a1e4af1b..20afd342 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -71,7 +71,7 @@ steps: #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/_,err = memory.ParseString("access")/' uplink-c/project.go + sed -i '23s/.*/_,err := memory.ParseString("access")/' uplink-c/project.go sed -i '24s/.*/if err != nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go From a1c258ffd0b7001a481a74dfb34d86809f221684 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:49:08 +0200 Subject: [PATCH 219/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 20afd342..bc220404 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,11 +67,11 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/"storj.io\/common\/memory"/' uplink-c/project.go + sed -i '10s/.*/"github.com\/zeebo\/errs"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/_,err := memory.ParseString("access")/' uplink-c/project.go + sed -i '23s/.*/err := errs.Combine("a","b")/' uplink-c/project.go sed -i '24s/.*/if err != nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go From 300e6196ada8b2249724386d48b451d1032c5735 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:53:10 +0200 Subject: [PATCH 220/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index bc220404..c2a94c2f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -71,7 +71,7 @@ steps: #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/err := errs.Combine("a","b")/' uplink-c/project.go + sed -i '23s/.*/err := errs.Combine(ErrNull.New("access"),ErrNull.New("access"))/' uplink-c/project.go sed -i '24s/.*/if err != nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go From 8a584d45de5c8acf98fd325c651c0ed52b2b4ec5 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 11:58:51 +0200 Subject: [PATCH 221/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c2a94c2f..5aeeacf7 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,12 +67,12 @@ steps: sed -i uplink-c/project.go -re '51,65d' echo "set memory 1" - sed -i '10s/.*/"github.com\/zeebo\/errs"/' uplink-c/project.go + sed -i '10s/.*/"golang.org\/x\/sync\/errgroup"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/err := errs.Combine(ErrNull.New("access"),ErrNull.New("access"))/' uplink-c/project.go - sed -i '24s/.*/if err != nil {/' uplink-c/project.go + sed -i '23s/.*/var eg errgroup.Group/' uplink-c/project.go + sed -i '24s/.*/if eg != nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go From 2292e5ca8e48fc945a731ae53a31c3e066ca498b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 12:00:51 +0200 Subject: [PATCH 222/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5aeeacf7..4e742f14 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,7 +66,7 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '51,65d' - echo "set memory 1" + go get golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c sed -i '10s/.*/"golang.org\/x\/sync\/errgroup"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go From 857eb1c6471cb41b77903b2f491f7f2a2b86cd9b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 12:03:22 +0200 Subject: [PATCH 223/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 4e742f14..564e658f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,13 +66,12 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '51,65d' - go get golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c - sed -i '10s/.*/"golang.org\/x\/sync\/errgroup"/' uplink-c/project.go + sed -i '10s/.*/"storj.io\/common\/rpc"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/var eg errgroup.Group/' uplink-c/project.go - sed -i '24s/.*/if eg != nil {/' uplink-c/project.go + sed -i '23s/.*/dialer := rpc.Dialer/' uplink-c/project.go + sed -i '24s/.*/if rpc != nil {/' uplink-c/project.go sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go sed -i '27s/.*/}/' uplink-c/project.go From c79a1720b002bbfd3cfdbcf67594b20cbaa34245 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Sat, 16 Oct 2021 12:06:21 +0200 Subject: [PATCH 224/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../azure-pipelines-build-win-arm.yml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 564e658f..9a3af216 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,20 +66,20 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '51,65d' - sed -i '10s/.*/"storj.io\/common\/rpc"/' uplink-c/project.go + #sed -i '10s/.*/"storj.io\/common\/rpc"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go - sed -i '23s/.*/dialer := rpc.Dialer/' uplink-c/project.go - sed -i '24s/.*/if rpc != nil {/' uplink-c/project.go - sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go - sed -i '27s/.*/}/' uplink-c/project.go - sed -i '28s/.*/}/' uplink-c/project.go - sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go - sed -i '31s/.*/}/' uplink-c/project.go - sed -i uplink-c/project.go -re '32,48d' + #sed -i '23s/.*/dialer := rpc.Dialer/' uplink-c/project.go + #sed -i '24s/.*/if rpc != nil {/' uplink-c/project.go + #sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go + #sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go + #sed -i '27s/.*/}/' uplink-c/project.go + #sed -i '28s/.*/}/' uplink-c/project.go + #sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go + #sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go + #sed -i '31s/.*/}/' uplink-c/project.go + sed -i uplink-c/project.go -re '20,48d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' From c84ec984d553d8c44d199f7f32ee227aa43a5192 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 12:05:25 +0200 Subject: [PATCH 225/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines listing deps --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 9a3af216..150ca2d1 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -138,6 +138,9 @@ steps: export GOARM=7 export CGO_ENABLED="1" #export GODEBUG=inittrace=1 + echo "listing deps" + go list -deps + echo "done listing deps" go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al From 0ed2da95268b9407d33a2636ab28a1395290ba9b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 12:09:44 +0200 Subject: [PATCH 226/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 150ca2d1..1a1166f3 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -79,7 +79,7 @@ steps: #sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go #sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go #sed -i '31s/.*/}/' uplink-c/project.go - sed -i uplink-c/project.go -re '20,48d' + sed -i uplink-c/project.go -re '20,49d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' From 03af1307413cae6368cea3504b00df92416ee54c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 12:12:17 +0200 Subject: [PATCH 227/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1a1166f3..62525190 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -79,7 +79,7 @@ steps: #sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go #sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go #sed -i '31s/.*/}/' uplink-c/project.go - sed -i uplink-c/project.go -re '20,49d' + sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' From 6e56240a57a5f2e8c01464925e0c4dbca6ea7969 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 14:06:35 +0200 Subject: [PATCH 228/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines should work again --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 62525190..a38b0a8f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -64,9 +64,9 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '51,65d' + sed -i uplink-c/project.go -re '20,65d' - #sed -i '10s/.*/"storj.io\/common\/rpc"/' uplink-c/project.go + #sed -i '10s/.*/_ "github.com\/zeebo\/errs"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go @@ -79,7 +79,7 @@ steps: #sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go #sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go #sed -i '31s/.*/}/' uplink-c/project.go - sed -i uplink-c/project.go -re '20,65d' + #sed -i uplink-c/project.go -re '20,65d' #Remove uplink_request_access_with_passphrase and "context" sed -i uplink-c/access.go -re '37,67d' From 39c0ab2655a8a92fd634f97422b4508456bba8dd Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 14:09:15 +0200 Subject: [PATCH 229/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add "github.com/zeebo/errs" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index a38b0a8f..6463a7cc 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,7 +66,7 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' - #sed -i '10s/.*/_ "github.com\/zeebo\/errs"/' uplink-c/project.go + sed -i '10s/.*/_ "github.com\/zeebo\/errs"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go From 234fade3c8f4ccc72ad46b9b03389c2b31b2162c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 14:13:44 +0200 Subject: [PATCH 230/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines test "golang.org/x/sync/errgroup" --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 6463a7cc..d0c37539 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -66,7 +66,7 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' - sed -i '10s/.*/_ "github.com\/zeebo\/errs"/' uplink-c/project.go + sed -i '10s/.*/_ "golang.org\/x\/sync\/errgroup"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go From 0c0190b1daf0d934f47e244f56053909f11f2dc9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 14:18:49 +0200 Subject: [PATCH 231/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add all project-deps --- .../pipelines/azure-pipelines-build-win-arm.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d0c37539..69ff6577 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -65,8 +65,18 @@ steps: #Remove uplink_close_project und uplink_open_project [rootScope] sed -i uplink-c/project.go -re '20,65d' - - sed -i '10s/.*/_ "golang.org\/x\/sync\/errgroup"/' uplink-c/project.go + sed '10 a "github.com\/zeebo\/errs"' uplink-c/project.go + sed '10 a "golang.org\/x\/sync\/errgroup"' uplink-c/project.go + sed '10 a "storj.io\/common\/memory"' uplink-c/project.go + sed '10 a "storj.io\/common\/rpc"' uplink-c/project.go + sed '10 a "storj.io\/common\/storj"' uplink-c/project.go + sed '10 a "storj.io\/uplink\/internal\/telemetryclient"' uplink-c/project.go + sed '10 a "storj.ioß/uplink\/private\/ecclient"' uplink-c/project.go + sed '10 a "storj.io\/uplink\/private\/metaclient"' uplink-c/project.go + sed '10 a "storj.io\/uplink\/private\/storage/streams"' uplink-c/project.go + sed '10 a "storj.io\/uplink\/private\/testuplink"' uplink-c/project.go + sed '10 a "storj.io\/uplink\/private\/version"' uplink-c/project.go + #sed -i '10s/.*/_ "golang.org\/x\/sync\/errgroup"/' uplink-c/project.go #sed -i '12s/.*/"fmt"/' uplink-c/project.go #sed -i '13s/.*/)/' uplink-c/project.go From d6f1bc3e78fbe92b7cd7020e608256e98c1d1d33 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 14:27:59 +0200 Subject: [PATCH 232/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add fre_project_result again - should crash --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 69ff6577..da1a1df8 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -58,7 +58,7 @@ steps: #Remove freeProject-call from uplink_free_project_result - sed -i uplink-c/project.go -re '71,71d' + #sed -i uplink-c/project.go -re '71,71d' #sed -i uplink-c/project.go -re '87,88d' #sed -i uplink-c/project.go -re '82,82d' #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go From a9b367fcbbd2c4f7c0b317a2639c3fb0c595a0ae Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 18 Oct 2021 14:32:55 +0200 Subject: [PATCH 233/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines add whole project.go --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index da1a1df8..d517cc02 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -64,7 +64,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,65d' + #sed -i uplink-c/project.go -re '20,65d' sed '10 a "github.com\/zeebo\/errs"' uplink-c/project.go sed '10 a "golang.org\/x\/sync\/errgroup"' uplink-c/project.go sed '10 a "storj.io\/common\/memory"' uplink-c/project.go From 4228f3cc66978fd466aa5859a129a3a110ea76f6 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:08:47 +0200 Subject: [PATCH 234/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines should work again --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d517cc02..da1a1df8 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -64,7 +64,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - #sed -i uplink-c/project.go -re '20,65d' + sed -i uplink-c/project.go -re '20,65d' sed '10 a "github.com\/zeebo\/errs"' uplink-c/project.go sed '10 a "golang.org\/x\/sync\/errgroup"' uplink-c/project.go sed '10 a "storj.io\/common\/memory"' uplink-c/project.go From 37050b4be9a115197fcd77826f5bc6e65176f93b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:10:50 +0200 Subject: [PATCH 235/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines ldflags -c --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index da1a1df8..71546ef6 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -64,7 +64,7 @@ steps: #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go #Remove uplink_close_project und uplink_open_project [rootScope] - sed -i uplink-c/project.go -re '20,65d' + #sed -i uplink-c/project.go -re '20,65d' sed '10 a "github.com\/zeebo\/errs"' uplink-c/project.go sed '10 a "golang.org\/x\/sync\/errgroup"' uplink-c/project.go sed '10 a "storj.io\/common\/memory"' uplink-c/project.go @@ -151,7 +151,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 6278e37960e28b03b4f2f720c96c5243c88321bc Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:16:53 +0200 Subject: [PATCH 236/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines remove ldflags --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 71546ef6..1236c57a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -151,7 +151,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 5fb8f52adcdd027b7dacb3006e3e327abe533801 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:20:39 +0200 Subject: [PATCH 237/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines revert ldflags --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1236c57a..d517cc02 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -151,7 +151,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 5dfb289d932df387f40acddd1c7abfc3d09affc3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:42:50 +0200 Subject: [PATCH 238/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines revert ldflags try build go from source with patchset --- .../pipelines/azure-pipelines-build-win-arm.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index d517cc02..2d62e288 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -109,12 +109,18 @@ steps: #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' -- task: GoTool@0 - inputs: - version: '$(GOLANG_VERSION)' - displayName: 'Install Go $(GOLANG_VERSION)' + - script: | + echo "clone go" + git clone https://go.googlesource.com/go + cd go + echo "get patch" + git fetch https://go.googlesource.com/go refs/changes/89/321789/6 && git cherry-pick FETCH_HEAD + cd src + echo "build go" + ./all.bash + sudo snap install zig --classic --edge zig version displayName: 'Install Zig' @@ -151,7 +157,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + /go/bin/go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 8975602a036685d698af6c51d3d1ade2fd1b8b2e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:49:22 +0200 Subject: [PATCH 239/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines use go1.17.2 --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 2d62e288..c2695a3f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -113,14 +113,17 @@ steps: - script: | echo "clone go" - git clone https://go.googlesource.com/go + git clone --branch go1.17.2 --depths 1 https://go.googlesource.com/go cd go echo "get patch" git fetch https://go.googlesource.com/go refs/changes/89/321789/6 && git cherry-pick FETCH_HEAD cd src echo "build go" ./all.bash - + cd .. + cd bin + go version + echo "done installing go" sudo snap install zig --classic --edge zig version displayName: 'Install Zig' From 1b8143a2135e09ebb22504af19439f2a7a71c300 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 09:50:52 +0200 Subject: [PATCH 240/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines typo --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c2695a3f..792a6f49 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -113,7 +113,7 @@ steps: - script: | echo "clone go" - git clone --branch go1.17.2 --depths 1 https://go.googlesource.com/go + git clone --branch go1.17.2 --depth 1 https://go.googlesource.com/go cd go echo "get patch" git fetch https://go.googlesource.com/go refs/changes/89/321789/6 && git cherry-pick FETCH_HEAD From 9233826ac8af0422207af8fc1047f75fa5752610 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 10:17:55 +0200 Subject: [PATCH 241/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 792a6f49..372e0180 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -123,6 +123,7 @@ steps: cd .. cd bin go version + export PATH=/home/vsts/work/1/s/go/bin:$PATH echo "done installing go" sudo snap install zig --classic --edge zig version From ef17e4778d537083b75a25870c609852cccc5146 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 12:07:38 +0200 Subject: [PATCH 242/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines set GOPATH --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 372e0180..65018551 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -113,6 +113,7 @@ steps: - script: | echo "clone go" + which go git clone --branch go1.17.2 --depth 1 https://go.googlesource.com/go cd go echo "get patch" @@ -122,8 +123,12 @@ steps: ./all.bash cd .. cd bin - go version + which go export PATH=/home/vsts/work/1/s/go/bin:$PATH + which go + export GOPATH=/home/vsts/work/1/s/go + which go + go version echo "done installing go" sudo snap install zig --classic --edge zig version From 00e90216505c9b51da4c8c9e4cf815bdd9875121 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 12:56:20 +0200 Subject: [PATCH 243/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 65018551..1d5ce9ba 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -136,6 +136,7 @@ steps: - script: | cd uplink-c + export GOPATH=/home/vsts/work/1/s/go #go get -u golang.org/x/sys #echo "*** make symlink" #mkdir math @@ -166,7 +167,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - /go/bin/go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From d6d3b14798e8b8217ed315f0a7c79a4fa615df0b Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 13:13:40 +0200 Subject: [PATCH 244/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- .../pipelines/azure-pipelines-build-win-arm.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1d5ce9ba..18eb205d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -111,6 +111,11 @@ steps: +- script: | + sudo snap install zig --classic --edge + zig version + displayName: 'Install Zig' + - script: | echo "clone go" which go @@ -130,11 +135,8 @@ steps: which go go version echo "done installing go" - sudo snap install zig --classic --edge - zig version - displayName: 'Install Zig' - -- script: | + cd .. + cd .. cd uplink-c export GOPATH=/home/vsts/work/1/s/go #go get -u golang.org/x/sys From 6bb3ecb80703858efa669a65510498707b0b47f3 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 13:48:33 +0200 Subject: [PATCH 245/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines increase stack.go StackMin --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 18eb205d..0ab1b65a 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -124,6 +124,8 @@ steps: echo "get patch" git fetch https://go.googlesource.com/go refs/changes/89/321789/6 && git cherry-pick FETCH_HEAD cd src + sed -i '75s/.*/_StackMin = 2048*8/' runtime/stack.go + cat runtime/stack.go echo "build go" ./all.bash cd .. From 13192af4cb67f6e9612249f310c7feb4ecc6fd35 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 13:51:44 +0200 Subject: [PATCH 246/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0ab1b65a..4f71022c 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -124,7 +124,7 @@ steps: echo "get patch" git fetch https://go.googlesource.com/go refs/changes/89/321789/6 && git cherry-pick FETCH_HEAD cd src - sed -i '75s/.*/_StackMin = 2048*8/' runtime/stack.go + sed -i '73s/.*/_StackMin = 2048*8/' runtime/stack.go cat runtime/stack.go echo "build go" ./all.bash From 644ea75c54b546a29de9a6f20765925beef049ef Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 19 Oct 2021 14:56:57 +0200 Subject: [PATCH 247/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines revert to standard go add init with println --- .../azure-pipelines-build-win-arm.yml | 34 +++++-------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 4f71022c..cda4274e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -56,6 +56,10 @@ steps: #sed -i uplink-c/scope.go -re '21,25d' #sed -i uplink-c/scope.go -re '9,9d' + sed '9 a import "fmt"' uplink-c/main.go + sed '10 a func init(){' uplink-c/main.go + sed '11 a fmt.Println("Hier ist der erste init!")' uplink-c/main.go + sed '12 a }' uplink-c/main.go #Remove freeProject-call from uplink_free_project_result #sed -i uplink-c/project.go -re '71,71d' @@ -109,7 +113,10 @@ steps: #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c displayName: 'Prepare for Target ARM' - +- task: GoTool@0 + inputs: + version: '$(GOLANG_VERSION)' + displayName: 'Install Go $(GOLANG_VERSION)' - script: | sudo snap install zig --classic --edge @@ -117,30 +124,7 @@ steps: displayName: 'Install Zig' - script: | - echo "clone go" - which go - git clone --branch go1.17.2 --depth 1 https://go.googlesource.com/go - cd go - echo "get patch" - git fetch https://go.googlesource.com/go refs/changes/89/321789/6 && git cherry-pick FETCH_HEAD - cd src - sed -i '73s/.*/_StackMin = 2048*8/' runtime/stack.go - cat runtime/stack.go - echo "build go" - ./all.bash - cd .. - cd bin - which go - export PATH=/home/vsts/work/1/s/go/bin:$PATH - which go - export GOPATH=/home/vsts/work/1/s/go - which go - go version - echo "done installing go" - cd .. - cd .. cd uplink-c - export GOPATH=/home/vsts/work/1/s/go #go get -u golang.org/x/sys #echo "*** make symlink" #mkdir math @@ -171,7 +155,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -ldflags="-s -w" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 1033ed75f166ea7e3ce34bd4302fdbc780d623c4 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 23 Nov 2021 16:36:32 +0100 Subject: [PATCH 248/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines try gotip --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cda4274e..63580013 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -155,7 +155,8 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + gotip download + gotip build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 7d97429ae439b69698c1f5cd23c249452e9bb929 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 23 Nov 2021 16:39:14 +0100 Subject: [PATCH 249/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines another try with gotip --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 63580013..7d186a4e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -155,6 +155,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" + go install gotip download gotip build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" From 5f27eca4bd8388de8439dd6fc12f743837f651a9 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Tue, 23 Nov 2021 16:43:41 +0100 Subject: [PATCH 250/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines revert gotip --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 7d186a4e..cda4274e 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -155,9 +155,7 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go install - gotip download - gotip build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From da118ae520941f6187a67ea01f662a228bd1284e Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 3 Dec 2021 08:01:58 +0100 Subject: [PATCH 251/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines Use full uplink-c-objects --- .../azure-pipelines-build-win-arm.yml | 86 ------------------- 1 file changed, 86 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cda4274e..63e2cdeb 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -27,92 +27,6 @@ steps: targetPath: '$(System.DefaultWorkingDirectory)' displayName: 'Get build-artifacts' -- script: | - ls - ls uplink-c - #rm uplink-c/util.go - rm uplink-c/upload.go - #rm uplink-c/scope.go - rm uplink-c/restrict_scope_helper.go - #rm uplink-c/project.go - rm uplink-c/objects.go - rm uplink-c/object.go - rm uplink-c/multipart.go - #rm uplink-c/handles_test.go - #rm uplink-c/handles.go - #rm uplink-c/error.go - #rm uplink-c/encryption.go - rm uplink-c/edge_share.go - rm uplink-c/edge_access.go - rm uplink-c/download.go - #rm uplink-c/custommetadata_test.go - #rm uplink-c/custommetadata.go - rm uplink-c/custom_metadata_helper.go - #rm uplink-c/config.go - rm uplink-c/buckets.go - rm uplink-c/bucket.go - #rm uplink-c/access.go - - #sed -i uplink-c/scope.go -re '21,25d' - #sed -i uplink-c/scope.go -re '9,9d' - - sed '9 a import "fmt"' uplink-c/main.go - sed '10 a func init(){' uplink-c/main.go - sed '11 a fmt.Println("Hier ist der erste init!")' uplink-c/main.go - sed '12 a }' uplink-c/main.go - - #Remove freeProject-call from uplink_free_project_result - #sed -i uplink-c/project.go -re '71,71d' - #sed -i uplink-c/project.go -re '87,88d' - #sed -i uplink-c/project.go -re '82,82d' - #sed -i '81s/.*/proj, ok := universe.Get(project._handle).(*Project)/' uplink-c/project.go - - #Remove uplink_close_project und uplink_open_project [rootScope] - #sed -i uplink-c/project.go -re '20,65d' - sed '10 a "github.com\/zeebo\/errs"' uplink-c/project.go - sed '10 a "golang.org\/x\/sync\/errgroup"' uplink-c/project.go - sed '10 a "storj.io\/common\/memory"' uplink-c/project.go - sed '10 a "storj.io\/common\/rpc"' uplink-c/project.go - sed '10 a "storj.io\/common\/storj"' uplink-c/project.go - sed '10 a "storj.io\/uplink\/internal\/telemetryclient"' uplink-c/project.go - sed '10 a "storj.ioß/uplink\/private\/ecclient"' uplink-c/project.go - sed '10 a "storj.io\/uplink\/private\/metaclient"' uplink-c/project.go - sed '10 a "storj.io\/uplink\/private\/storage/streams"' uplink-c/project.go - sed '10 a "storj.io\/uplink\/private\/testuplink"' uplink-c/project.go - sed '10 a "storj.io\/uplink\/private\/version"' uplink-c/project.go - #sed -i '10s/.*/_ "golang.org\/x\/sync\/errgroup"/' uplink-c/project.go - #sed -i '12s/.*/"fmt"/' uplink-c/project.go - #sed -i '13s/.*/)/' uplink-c/project.go - - #sed -i '23s/.*/dialer := rpc.Dialer/' uplink-c/project.go - #sed -i '24s/.*/if rpc != nil {/' uplink-c/project.go - #sed -i '25s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - #sed -i '26s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go - #sed -i '27s/.*/}/' uplink-c/project.go - #sed -i '28s/.*/}/' uplink-c/project.go - #sed -i '29s/.*/return C.UplinkProjectResult{/' uplink-c/project.go - #sed -i '30s/.*/error: mallocError(ErrNull.New("access")),/' uplink-c/project.go - #sed -i '31s/.*/}/' uplink-c/project.go - #sed -i uplink-c/project.go -re '20,65d' - - #Remove uplink_request_access_with_passphrase and "context" - sed -i uplink-c/access.go -re '37,67d' - sed -i uplink-c/access.go -re '9,9d' - - #Remove uplink_config_open_project [rootScope] - sed -i uplink-c/config.go -re '50,79d' - - #uplink_config_request_access_with_passphrase and "context" - sed -i uplink-c/config.go -re '15,48d' - sed -i uplink-c/config.go -re '9,9d' - - echo "*** hier kommt die Maus ***" - cat uplink-c/project.go - echo "*** deleted ***" - ls uplink-c - #mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c - displayName: 'Prepare for Target ARM' - - task: GoTool@0 inputs: version: '$(GOLANG_VERSION)' From 54e3a08121ffeb595461436902aab43dba6f4b2a Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 3 Dec 2021 08:15:16 +0100 Subject: [PATCH 252/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines Add swig-stuff to binary --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 63e2cdeb..b345c50b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -27,6 +27,12 @@ steps: targetPath: '$(System.DefaultWorkingDirectory)' displayName: 'Get build-artifacts' + - script: | + ls + ls uplink-c + mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c + displayName: 'Add SWIG-Code' + - task: GoTool@0 inputs: version: '$(GOLANG_VERSION)' From 633be503320323daf9d60e6a708fcdd7c8d838bc Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 3 Dec 2021 08:15:55 +0100 Subject: [PATCH 253/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines Add swig-stuff to binary --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index b345c50b..edf0acaa 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -27,11 +27,11 @@ steps: targetPath: '$(System.DefaultWorkingDirectory)' displayName: 'Get build-artifacts' - - script: | - ls - ls uplink-c - mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c - displayName: 'Add SWIG-Code' +- script: | + ls + ls uplink-c + mv storj_uplink_second_wrap/storj_uplink_second_wrap.c uplink-c/storj_uplink_second_wrap.c + displayName: 'Add SWIG-Code' - task: GoTool@0 inputs: From 68c20d2c5fd69c08f52357887e4b877b5de44e04 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 14 Jan 2022 17:42:31 +0100 Subject: [PATCH 254/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines Cleanup --- .../pipelines/azure-pipelines-build-win-arm.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index edf0acaa..e2be6150 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -45,17 +45,6 @@ steps: - script: | cd uplink-c - #go get -u golang.org/x/sys - #echo "*** make symlink" - #mkdir math - #cp -r -a /snap/zig/3678/lib/libc/mingw/math/. ./math/ - #echo "** listing math" - #ls ./math - #cd math - #sudo wget https://raw.githubusercontent.com/ziglang/zig/de04ee9213f284cc277d35a409b7f821fb09b456/lib/libc/mingw/math/bsd_private_base.h - #cd .. - #sudo mount --bind -o nodev,ro $(pwd)/math /snap/zig/3678/lib/libc/mingw/math - #echo "*** make symlink done" export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc @@ -71,7 +60,6 @@ steps: export GOARCH="arm64" export GOARM=7 export CGO_ENABLED="1" - #export GODEBUG=inittrace=1 echo "listing deps" go list -deps echo "done listing deps" From 6e1c363f4df56e5fa1bac802afb6ecb0a0d3ccfc Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 14 Jan 2022 17:50:33 +0100 Subject: [PATCH 255/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines Tests with additional CFLAGS and LDFLAGS from here: https://gstreamer.freedesktop.org/data/events/gstreamer-conference/2019/Nirbheek%20Chauhan%20-%20GStreamer,%20Windows%20UWP,%20and%20Firefox%20on%20the%20HoloLens%202.pdf --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e2be6150..0f6acb8d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -63,7 +63,8 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + #vorher: go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 1be4001e675473a21126c4e46ee670bd7ecb5b53 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 14 Jan 2022 17:53:09 +0100 Subject: [PATCH 256/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 0f6acb8d..27b8ab30 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -64,7 +64,8 @@ steps: go list -deps echo "done listing deps" #vorher: go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v - go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + #APPCONTAINER undefined: go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 711687de854d81e1fdb29b9aace0a797b4a076d8 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 26 Jan 2022 08:35:27 +0100 Subject: [PATCH 257/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 27b8ab30..e744cfd4 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -49,12 +49,12 @@ steps: echo "Kann ersetzt werden durch 'zig cc'" echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc - echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx - sudo chmod +x zxx + #echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx + #sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar export CC="zcc" - export CXX="zxx" + export CXX="false" export AR="zar" export GOOS="windows" export GOARCH="arm64" @@ -69,8 +69,8 @@ steps: echo "Build succeeded" ls -al echo "*** Hole pdb" - cd .. - find /home/vsts/ -type f | grep -i pdb$ | xargs -i cp {} uplink-c + #cd .. + find . -type f | grep -i pdb$ | xargs -i cp {} uplink-c displayName: 'Test-Generate Win-ARM' - task: PublishPipelineArtifact@1 From 63d285b99f5ec7560727df56fd611a6f6e4d2ad0 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 26 Jan 2022 08:40:10 +0100 Subject: [PATCH 258/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index e744cfd4..1be05cff 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,6 +67,8 @@ steps: #APPCONTAINER undefined: go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" + echo $(pwd) + find /home/vsts -type f | grep -i pdb$ ls -al echo "*** Hole pdb" #cd .. From 0fd5aeb2050eeba53b79cdf7fb69387787767e21 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 26 Jan 2022 08:41:04 +0100 Subject: [PATCH 259/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 1be05cff..aba238b5 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -69,6 +69,9 @@ steps: echo "Build succeeded" echo $(pwd) find /home/vsts -type f | grep -i pdb$ + echo '-------------' + find . -type f | grep -i pdb$ + echo '-------------' ls -al echo "*** Hole pdb" #cd .. From 6bc1cc2e241fedaaa443bd07f60fb1adce3b387c Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 26 Jan 2022 08:42:51 +0100 Subject: [PATCH 260/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index aba238b5..771e7d6b 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -75,7 +75,7 @@ steps: ls -al echo "*** Hole pdb" #cd .. - find . -type f | grep -i pdb$ | xargs -i cp {} uplink-c + find /home/vsts -type f | grep -i pdb$ | xargs -i cp {} uplink-c displayName: 'Test-Generate Win-ARM' - task: PublishPipelineArtifact@1 From 2eebcbae4e661d550c6fab69b7636dbdbb0dbd5f Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 26 Jan 2022 08:45:33 +0100 Subject: [PATCH 261/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 771e7d6b..5e9f7401 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -74,7 +74,7 @@ steps: echo '-------------' ls -al echo "*** Hole pdb" - #cd .. + cd .. find /home/vsts -type f | grep -i pdb$ | xargs -i cp {} uplink-c displayName: 'Test-Generate Win-ARM' From 4c18a9c02b8a5b928424fbd33b83dd1339b08027 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Wed, 26 Jan 2022 08:48:17 +0100 Subject: [PATCH 262/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 5e9f7401..afd9b374 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -67,11 +67,6 @@ steps: #APPCONTAINER undefined: go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" - echo $(pwd) - find /home/vsts -type f | grep -i pdb$ - echo '-------------' - find . -type f | grep -i pdb$ - echo '-------------' ls -al echo "*** Hole pdb" cd .. From 4ef01d7ffcbaf11d97f7a7cebb2fbc072e1e2873 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Fri, 3 Feb 2023 09:45:15 +0100 Subject: [PATCH 263/266] Update azure-pipelines-build-win-arm.yml for Azure Pipelines --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index afd9b374..c9a3c37f 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -65,7 +65,7 @@ steps: echo "done listing deps" #vorher: go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v #APPCONTAINER undefined: go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v - go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -v" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 4691296dca158447dcaabafb9ed609e7a07e9948 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Mon, 13 Nov 2023 15:13:36 +0100 Subject: [PATCH 264/266] try: another version --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index c9a3c37f..876f34ec 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -63,9 +63,9 @@ steps: echo "listing deps" go list -deps echo "done listing deps" - #vorher: go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v #APPCONTAINER undefined: go build -ldflags="-s -w -c -APPCONTAINER WindowsApp.lib" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v - go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -v" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v + #go build -ldflags="-s -w -c" -gcflags="-dwarflocationlists=true -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -v" -gcflags=all="-N -l" -o storj_uplink.dll -buildmode c-shared -tags extended -v echo "Build succeeded" ls -al echo "*** Hole pdb" From 87bf25857958e0ab0371cbd6b79306d8e5cb3c64 Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 21 Mar 2024 08:51:01 +0100 Subject: [PATCH 265/266] Update azure-pipelines-build-win-arm.yml --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index 876f34ec..cff73f62 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -47,7 +47,7 @@ steps: cd uplink-c export PATH=$PATH:$(pwd) echo "Kann ersetzt werden durch 'zig cc'" - echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc + echo $'#!/bin/sh \n zig cc -target aarch64-windows-gnu -Werror -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zcc sudo chmod +x zcc #echo $'#!/bin/sh \n zig c++ -target aarch64-windows-gnu -mtune=cortex-a75 -mcpu=cortex_a75 -fno-sanitize-trap=undefined -fno-sanitize=undefined -v $@' >> zxx #sudo chmod +x zxx @@ -85,4 +85,4 @@ steps: targetPath: 'uplink-c/storj_uplink.pdb' artifact: 'arm64_dll_pdb' publishLocation: 'pipeline' - displayName: 'Publish PDB as Artifact' \ No newline at end of file + displayName: 'Publish PDB as Artifact' From b340a1e1feac9f1256d6d9a7255094aef68d260d Mon Sep 17 00:00:00 2001 From: TopperDEL Date: Thu, 21 Mar 2024 08:55:03 +0100 Subject: [PATCH 266/266] Update azure-pipelines-build-win-arm.yml --- uplink.NET/pipelines/azure-pipelines-build-win-arm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml index cff73f62..9b40f72d 100644 --- a/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml +++ b/uplink.NET/pipelines/azure-pipelines-build-win-arm.yml @@ -53,7 +53,8 @@ steps: #sudo chmod +x zxx echo $'#!/bin/sh \n zig ar -v $@' >> zar sudo chmod +x zar - export CC="zcc" + export CC="zig cc" + #export CC="zcc" export CXX="false" export AR="zar" export GOOS="windows"