Skip to content

Commit 26e345d

Browse files
committed
Fixed build issues III [docker_verify]
1 parent 4455d1f commit 26e345d

12 files changed

+19
-57
lines changed

.github/workflows/ci-win-cygwin.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
if: "!contains(github.event.head_commit.message, '[skip_build]')"
1818
strategy:
1919
matrix:
20-
os: [windows-2019]
21-
vs: [2019]
20+
os: [windows-2022]
21+
vs: [2022]
2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: Install cygwin

.github/workflows/ci-win-mingw.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
if: "!contains(github.event.head_commit.message, '[skip_build]')"
1818
strategy:
1919
matrix:
20-
os: [windows-2019]
21-
vs: [2019]
20+
os: [windows-2022]
21+
vs: [2022]
2222
steps:
2323
- uses: actions/checkout@v4
2424
- name: Set ENV

docker/dockcross-build-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ build_curl() {
5353
#curl -sLo- https://curl.haxx.se/download/curl-${CURL_VERSION}.tar.gz | tar xz -C ${BUILD_DIR}
5454
git clone https://github.com/curl/curl && mv curl ${BUILD_DIR}/curl-${CURL_VERSION}
5555
pushd ${BUILD_DIR}/curl-${CURL_VERSION}
56-
cmake -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DUSE_NGHTTP2=OFF -DCURL_DISABLE_LDAP=OFF -DCURL_DISABLE_LDAPS=OFF -DUSE_LIBIDN2=OFF -DUSE_LIBPSL=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_CURL_EXE=OFF -DCURL_USE_OPENSSL=ON -DCMAKE_INSTALL_PREFIX=${STAGE_DIR} .
56+
cmake -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DUSE_NGHTTP2=OFF -DCURL_DISABLE_LDAP=OFF -DCURL_DISABLE_LDAPS=OFF -DUSE_LIBIDN2=OFF -DCURL_USE_LIBPSL=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_CURL_EXE=OFF -DCURL_USE_OPENSSL=ON -DCMAKE_INSTALL_PREFIX=${STAGE_DIR} .
5757
make install
5858
popd
5959
}

docker/te/benchmark_config.json

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"query_url": "/t3/quem?queries=",
99
"fortune_url": "/t3/fortu",
1010
"update_url": "/t3/updt?queries=",
11-
"cached_query_url": "/t3/cached-wld?count=",
1211
"port": 8080,
1312
"approach": "Realistic",
1413
"classification": "Fullstack",
@@ -47,27 +46,6 @@
4746
"versus": "",
4847
"tags": []
4948
},
50-
"v-picov-postgresql-wire": {
51-
"db_url": "/t6/d",
52-
"query_url": "/t6/quem?queries=",
53-
"fortune_url": "/t6/fortu",
54-
"update_url": "/t6/updm?queries=",
55-
"port": 8080,
56-
"approach": "Realistic",
57-
"classification": "Fullstack",
58-
"database": "postgres",
59-
"framework": "ffead-cpp",
60-
"language": "C++",
61-
"orm": "Raw",
62-
"platform": "None",
63-
"webserver": "picov",
64-
"os": "Linux",
65-
"database_os": "Linux",
66-
"display_name": "ffead-cpp [v-picov-pg-wire]",
67-
"notes": "picov sync wire",
68-
"versus": "",
69-
"tags": []
70-
},
7149
"postgresql-wire": {
7250
"db_url": "/t6/d",
7351
"query_url": "/t6/quem?queries=",
@@ -173,27 +151,6 @@
173151
"notes": "async pipelined",
174152
"versus": ""
175153
},
176-
"v-picov-postgresql-wire-async": {
177-
"db_url": "/t7/d",
178-
"query_url": "/t7/quer?queries=",
179-
"fortune_url": "/t7/fortu",
180-
"update_url": "/t7/updt?queries=",
181-
"port": 8080,
182-
"approach": "Realistic",
183-
"classification": "Fullstack",
184-
"database": "postgres",
185-
"framework": "ffead-cpp",
186-
"language": "C++",
187-
"orm": "Raw",
188-
"platform": "None",
189-
"webserver": "picov",
190-
"os": "Linux",
191-
"database_os": "Linux",
192-
"display_name": "ffead-cpp [v-picov-pg-wire-async]",
193-
"notes": "picov async wire",
194-
"versus": "",
195-
"tags": []
196-
},
197154
"postgresql-wire-async": {
198155
"db_url": "/t7/d",
199156
"query_url": "/t7/quer?queries=",

docker/te/ffead-cpp-v-picov-postgresql-async.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ENV IROOT=/installs
44

55
WORKDIR /
66

7-
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-raw-async memory
7+
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-raw-async none

docker/te/ffead-cpp-v-picov-postgresql-pipelined-async.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ENV IROOT=/installs
44

55
WORKDIR /
66

7-
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-raw-async memory batch
7+
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-raw-async none batch

docker/te/ffead-cpp-v-picov-postgresql-wire-async.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ENV IROOT=/installs
44

55
WORKDIR /
66

7-
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-wire-async memory
7+
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-wire-async none

docker/te/ffead-cpp-v-picov-postgresql-wire.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ENV IROOT=/installs
44

55
WORKDIR /
66

7-
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-wire memory
7+
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-wire none

docker/te/ffead-cpp-v-picov-postgresql.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ ENV IROOT=/installs
44

55
WORKDIR /
66

7-
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-raw memory
7+
CMD ./run_ffead.sh ffead-cpp-7.0-sql v-picov postgresql-raw none

src/modules/client-util/Client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int Client::conn(const std::string& host, const int& port) {
5353
if(host!="localhost" && host!="0.0.0.0" && host!="127.0.0.1") {
5454
if(!isIPAddress(host.c_str())) {
5555
char* ip = get_ip((char*)host.c_str());
56-
fprintf(stderr, "IP is %s\n", ip);
56+
//fprintf(stderr, "IP is %s\n", ip);
5757
int tmpres = inet_pton(AF_INET, ip, (void *)(&(remote->sin_addr.s_addr)));
5858
if( tmpres < 0)
5959
{
@@ -144,7 +144,7 @@ bool Client::connection(const std::string& host, const int& port)
144144

145145
if(host!="localhost" && host!="0.0.0.0" && host!="127.0.0.1") {
146146
char* ip = get_ip((char*)host.c_str());
147-
fprintf(stderr, "IP is %s\n", ip);
147+
//fprintf(stderr, "IP is %s\n", ip);
148148
int tmpres = inet_pton(AF_INET, ip, (void *)(&(remote->sin_addr.s_addr)));
149149
if( tmpres < 0)
150150
{

0 commit comments

Comments
 (0)