summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-19 09:26:49 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-19 09:26:49 +0100
commit9f3ed9465eacc0811a2397b0b807779729aa1b9e (patch)
treeaabdbbec304807e3038b00f1c8378c26b9d58729 /tools
parent36bd2efdc56877729617ccf5222911484fb86d31 (diff)
feat: new commits on components, new libsteps library.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/.keep0
-rw-r--r--tools/steps.cc27
-rw-r--r--tools/steps.toml8
3 files changed, 35 insertions, 0 deletions
diff --git a/tools/.keep b/tools/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tools/.keep
diff --git a/tools/steps.cc b/tools/steps.cc
new file mode 100644
index 0000000..551203c
--- /dev/null
+++ b/tools/steps.cc
@@ -0,0 +1,27 @@
+/* -------------------------------------------
+
+Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+
+------------------------------------------- */
+
+#include <lib/io/print.hpp>
+#include <libsteps/steps.h>
+
+/// Use operators from steps namespace to compare steps records.
+using namespace steps::operators;
+
+/// =========================================================== ///
+/// @brief Main function for running steps on NeKernel.
+/// =========================================================== ///
+int main(int argc, char** argv)
+{
+ ocl::io::print("steps: running steps for program...\n");
+
+ steps::record steps;
+
+ /// AMLALE: Read steps from file and process them.
+
+ ocl::io::print("steps: done!\n");
+
+ return EXIT_SUCCESS;
+} \ No newline at end of file
diff --git a/tools/steps.toml b/tools/steps.toml
new file mode 100644
index 0000000..f9e3734
--- /dev/null
+++ b/tools/steps.toml
@@ -0,0 +1,8 @@
+compiler_path = "clang++"
+compiler_std = "c++20"
+headers_path = [ "../lib", "../lib/libocl/dev/", "/opt/homebrew/Cellar/boost/1.89.0/include" ]
+sources_path = [ "steps.cc" ]
+output_name = "steps.o"
+compiler_flags = [ "-fPIC" ]
+cpp_macros = [ "__NE_STEPS__" ]
+run_after_build = false