summaryrefslogtreecommitdiffhomepage
path: root/src/CommandLine/posix
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-13 15:09:21 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-13 15:09:21 +0100
commita4bb44e2a004d04cbee3ceb2d90aa7461dabecf4 (patch)
tree248b956a9fc08c67c0cfeb01f3a0f95c0fd4825f /src/CommandLine/posix
parentfe55f67bf7a5aeba365d7af1d681cef1d9ed7a3c (diff)
[FEAT] Update and add Nectar compliant snippet with CL paradigm in mind.compiler_kit-osx-tweaks-fixes
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CommandLine/posix')
-rw-r--r--src/CommandLine/posix/cppdrv.json14
-rw-r--r--src/CommandLine/posix/dbg.json13
-rw-r--r--src/CommandLine/posix/kdbg.json13
-rw-r--r--src/CommandLine/posix/ld64-posix.json13
-rw-r--r--src/CommandLine/posix/mld64-posix.json13
-rw-r--r--src/CommandLine/posix/pef-amd64-asm.json14
-rw-r--r--src/CommandLine/posix/pef-amd64-drv.json21
-rw-r--r--src/CommandLine/posix/ptx-drv.json21
8 files changed, 122 insertions, 0 deletions
diff --git a/src/CommandLine/posix/cppdrv.json b/src/CommandLine/posix/cppdrv.json
new file mode 100644
index 0000000..ad9761b
--- /dev/null
+++ b/src/CommandLine/posix/cppdrv.json
@@ -0,0 +1,14 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["cppdrv.cpp"],
+ "output_name": "cppdrv",
+ "compiler_flags": ["-L/usr/local/lib", "-lCompilerKit"],
+ "cpp_macros": [
+ "__CPPDRV__=202504",
+ "__NECTAR__",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/dbg.json b/src/CommandLine/posix/dbg.json
new file mode 100644
index 0000000..ecc63e8
--- /dev/null
+++ b/src/CommandLine/posix/dbg.json
@@ -0,0 +1,13 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["dbg.cpp"],
+ "output_name": "dbg",
+ "compiler_flags": ["-L/usr/lib", "-lDebuggerKit"],
+ "cpp_macros": [
+ "__DBG__=202401",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/kdbg.json b/src/CommandLine/posix/kdbg.json
new file mode 100644
index 0000000..6099f04
--- /dev/null
+++ b/src/CommandLine/posix/kdbg.json
@@ -0,0 +1,13 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["kdbg.cpp"],
+ "output_name": "kdbg",
+ "compiler_flags": ["-L/usr/lib", "-lDebuggerKit"],
+ "cpp_macros": [
+ "__DBG__=202401",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/ld64-posix.json b/src/CommandLine/posix/ld64-posix.json
new file mode 100644
index 0000000..0847b41
--- /dev/null
+++ b/src/CommandLine/posix/ld64-posix.json
@@ -0,0 +1,13 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["ld64.cpp"],
+ "output_name": "ld64",
+ "compiler_flags": ["-L/usr/lib", "-lCompilerKit"],
+ "cpp_macros": [
+ "__LD64__=202601",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/mld64-posix.json b/src/CommandLine/posix/mld64-posix.json
new file mode 100644
index 0000000..e408cec
--- /dev/null
+++ b/src/CommandLine/posix/mld64-posix.json
@@ -0,0 +1,13 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["mld64.cpp"],
+ "output_name": "mld64",
+ "compiler_flags": ["-L/usr/lib", "-lCompilerKit"],
+ "cpp_macros": [
+ "__MLD64__=202601",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/pef-amd64-asm.json b/src/CommandLine/posix/pef-amd64-asm.json
new file mode 100644
index 0000000..a1b1e1f
--- /dev/null
+++ b/src/CommandLine/posix/pef-amd64-asm.json
@@ -0,0 +1,14 @@
+{
+ "compiler_path": "g++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["pef-amd64-asm.cpp"],
+ "output_name": "pef-amd64-asm",
+ "compiler_flags": ["-L/usr/lib"],
+ "cpp_macros": [
+ "__DRV_ASM__=202601",
+ "CK_POSIX",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/pef-amd64-drv.json b/src/CommandLine/posix/pef-amd64-drv.json
new file mode 100644
index 0000000..69609ff
--- /dev/null
+++ b/src/CommandLine/posix/pef-amd64-drv.json
@@ -0,0 +1,21 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": [
+ "../include/CompilerKit",
+ "../../include",
+ "../include/CompilerKit/src/Detail"
+ ],
+ "sources_path": [
+ "pef-amd64-drv.cpp"
+ ],
+ "output_name": "pef-amd64-necdrv",
+ "compiler_flags": [
+ ],
+ "cpp_macros": [
+ "__NECDRV__=202504",
+ "CK_POSIX",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+
diff --git a/src/CommandLine/posix/ptx-drv.json b/src/CommandLine/posix/ptx-drv.json
new file mode 100644
index 0000000..6372117
--- /dev/null
+++ b/src/CommandLine/posix/ptx-drv.json
@@ -0,0 +1,21 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": [
+ "../include/CompilerKit",
+ "../../include",
+ "../include/CompilerKit/src/Detail"
+ ],
+ "sources_path": [
+ "ptx-drv.cpp"
+ ],
+ "output_name": "ptx-necdrv",
+ "compiler_flags": [
+ ],
+ "cpp_macros": [
+ "__NECDRV__=202504",
+ "CK_POSIX",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+