]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
buildtools: Remove compile_commands.json symlink
authorAndreas Schneider <asn@samba.org>
Sat, 25 Mar 2023 16:10:19 +0000 (17:10 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 29 Mar 2023 17:54:05 +0000 (17:54 +0000)
We are telling clangd with the .clangd project config file where to find it.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Mar 29 17:54:05 UTC 2023 on atb-devel-224

buildtools/wafsamba/wscript

index 47ed3f71234d021f91a08e153965dc0289cac249..30cb366331a022e7f8aead582cf2d4403af83f3a 100644 (file)
@@ -720,11 +720,6 @@ struct foo bar = { .y = 'X', .x = 1 };
         conf.DEFINE('FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION', 1)
         conf.env.FUZZ_TARGET_LDFLAGS = Options.options.FUZZ_TARGET_LDFLAGS
 
-    # Create a symlink of the compile db for clangd
-    symlink(os.path.join(conf.bldnode.abspath(), 'default/compile_commands.json'),
-            os.path.join(conf.srcnode.abspath(), 'compile_commands.json'),
-            force=True)
-
     conf.SAMBA_BUILD_ENV()