From 1a94929780340b37101622df47cac3e481ddf7c7 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 26 Apr 2022 21:19:28 +0200 Subject: [PATCH] Use clang to make VS Code builds. This should improve build times to take only ~65% of time. --- .vscode/tasks.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 560a4117..f08379b0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "Build Profiler GUI", "type": "shell", - "command": "make debug -C profiler/build/unix -j `nproc`", + "command": "CC=clang CXX=clang++ make debug -C profiler/build/unix -j `nproc`", "group": { "kind": "build", "isDefault": true @@ -18,7 +18,7 @@ { "label": "Build capture tool", "type": "shell", - "command": "make debug -C capture/build/unix -j `nproc`", + "command": "CC=clang CXX=clang++ make debug -C capture/build/unix -j `nproc`", "group": { "kind": "build", "isDefault": true @@ -30,7 +30,7 @@ { "label": "Build csvexport tool", "type": "shell", - "command": "make debug -C csvexport/build/unix -j `nproc`", + "command": "CC=clang CXX=clang++ make debug -C csvexport/build/unix -j `nproc`", "group": { "kind": "build", "isDefault": true @@ -42,7 +42,7 @@ { "label": "Build import-chrome tool", "type": "shell", - "command": "make debug -C import-chrome/build/unix -j `nproc`", + "command": "CC=clang CXX=clang++ make debug -C import-chrome/build/unix -j `nproc`", "group": { "kind": "build", "isDefault": true @@ -51,7 +51,7 @@ { "label": "Build update tool", "type": "shell", - "command": "make debug -C update/build/unix -j `nproc`", + "command": "CC=clang CXX=clang++ make debug -C update/build/unix -j `nproc`", "group": { "kind": "build", "isDefault": true @@ -63,7 +63,7 @@ { "label": "Build client library", "type": "shell", - "command": "make debug -C library/unix -j `nproc`", + "command": "CC=clang CXX=clang++ make debug -C library/unix -j `nproc`", "group": { "kind": "build", "isDefault": true