diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-13 15:11:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-13 15:11:34 +0100 |
| commit | 927d2cf3e85188514df885efb7782e5570ff36cf (patch) | |
| tree | 248b956a9fc08c67c0cfeb01f3a0f95c0fd4825f /src/CommandLine/posix | |
| parent | fe55f67bf7a5aeba365d7af1d681cef1d9ed7a3c (diff) | |
| parent | a4bb44e2a004d04cbee3ceb2d90aa7461dabecf4 (diff) | |
Merge pull request #73 from ne-foss-org/compiler_kit-osx-tweaks-fixes
[FEAT] Update and add Nectar compliant snippet with CL paradigm in mind.
Diffstat (limited to 'src/CommandLine/posix')
| -rw-r--r-- | src/CommandLine/posix/cppdrv.json | 14 | ||||
| -rw-r--r-- | src/CommandLine/posix/dbg.json | 13 | ||||
| -rw-r--r-- | src/CommandLine/posix/kdbg.json | 13 | ||||
| -rw-r--r-- | src/CommandLine/posix/ld64-posix.json | 13 | ||||
| -rw-r--r-- | src/CommandLine/posix/mld64-posix.json | 13 | ||||
| -rw-r--r-- | src/CommandLine/posix/pef-amd64-asm.json | 14 | ||||
| -rw-r--r-- | src/CommandLine/posix/pef-amd64-drv.json | 21 | ||||
| -rw-r--r-- | src/CommandLine/posix/ptx-drv.json | 21 |
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)" + ] +} + |
