Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

1
tests/halcompile/extralib/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
extralib_test

View File

@@ -0,0 +1,2 @@
#!/bin/sh
[ -x "$(dirname "$1")/extralib_test" ]

View File

@@ -0,0 +1,13 @@
component extralib_test;
pin in float theta;
pin out float sin_;
license "GPL";
option userspace;
option extra_link_args "-lm";
;;
#include <math.h>
void user_mainloop(void) {
while(1) {
FOR_ALL_INSTS() sin_ = sin(theta);
}
}

View File

@@ -0,0 +1,3 @@
#!/bin/bash
set -e
halcompile --compile extralib_test.comp