1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-06-05 22:19:21 +02:00

Add pre-installed python packages within rootfs overlay

TODO: This is just a quick fix and need to be changed to
buildroot packages in the upcoming days/weeks/months.
This commit is contained in:
j1nx
2022-12-08 21:02:30 +01:00
parent ce2443f753
commit 37d97e1551
36609 changed files with 7287696 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#ifndef PYTHONIC_OMP_GET_NUM_THREADS_HPP
#define PYTHONIC_OMP_GET_NUM_THREADS_HPP
#include "pythonic/include/omp/get_num_threads.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
long get_num_threads()
{
return omp_get_num_threads();
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_OMP_GET_THREAD_NUM_HPP
#define PYTHONIC_OMP_GET_THREAD_NUM_HPP
#include "pythonic/include/omp/get_thread_num.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
long get_thread_num()
{
return omp_get_thread_num();
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,20 @@
#ifndef PYTHONIC_OMP_GET_WTICK_HPP
#define PYTHONIC_OMP_GET_WTICK_HPP
#include "pythonic/include/omp/get_wtick.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
long get_wtick()
{
return omp_get_wtick();
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_OMP_GET_WTIME_HPP
#define PYTHONIC_OMP_GET_WTIME_HPP
#include "pythonic/include/omp/get_wtime.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
long get_wtime()
{
return omp_get_wtime();
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_OMP_IN_PARALLEL_HPP
#define PYTHONIC_OMP_IN_PARALLEL_HPP
#include "pythonic/include/omp/in_parallel.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
bool in_parallel()
{
return omp_in_parallel();
}
}
PYTHONIC_NS_END
#endif

View File

@ -0,0 +1,21 @@
#ifndef PYTHONIC_OMP_SET_NESTED_HPP
#define PYTHONIC_OMP_SET_NESTED_HPP
#include "pythonic/include/omp/set_nested.hpp"
#include <omp.h>
#include "pythonic/utils/functor.hpp"
PYTHONIC_NS_BEGIN
namespace omp
{
void set_nested(long val)
{
return omp_set_nested(val);
}
}
PYTHONIC_NS_END
#endif