Xiang Xiao
e8497e5355
system/libuv: Sync CMakeLists.txt with Makefile
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2024-10-27 20:02:07 +08:00
Huang Qi
f9c6e18693
libuv: Don't select PIPES implicitly
...
To avoid introducing unexpected dependencies,
we should not select any feature implicitly.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-10-27 20:02:07 +08:00
Huang Qi
713cd4d971
libuv: Make stream read buffer size configurable
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-10-27 20:02:07 +08:00
cuiziwei
729cc337a1
libuv: Remove GCCVER redefinition
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2024-10-19 18:55:01 +08:00
pengyaozong
63f43e70a9
add LIBUV_HANDLE_BACKTRACE
...
Signed-off-by: pengyaozong <pengyaozong@xiaomi.com>
2024-10-16 14:30:34 +08:00
yinshengkai
9c51919a1a
libuv:add threadpool DEF_THREADPOOL_PRIORITY
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-10-15 10:32:08 +08:00
guohao15
be85fab47c
libuv:Make libuv use epoll runable without fsnotify
...
Signed-off-by: guohao15 <guohao15@xiaomi.com>
2024-10-15 10:32:08 +08:00
guohao15
ed91a3c03c
libuv:change LIBUV_BACKEND_EPOLL depends on FS_NOTIFY
...
Signed-off-by: guohao15 <guohao15@xiaomi.com>
2024-10-15 10:32:08 +08:00
guohao15
4e386a955e
system/libuv: optimize stack usage
...
Signed-off-by: guohao15 <guohao15@xiaomi.com>
2024-10-15 10:32:08 +08:00
guohao15
5891f7037b
libuv:add inotify test for nuttx
...
Signed-off-by: guohao15 <guohao15@xiaomi.com>
2024-10-15 10:32:08 +08:00
dongjiuzhu1
8b6e63c22d
libuv: default select epoll backend in libuv
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2024-10-15 10:32:08 +08:00
GUIDINGLI
b7261a0270
Revert "libuv: Remove GCCVER and add compilation options directly."
...
This reverts commit 13ce4707ffbf4bfb28b7a81b29c7adfeb917042b.
2024-10-11 21:44:13 +08:00
cuiziwei
13ce4707ff
libuv: Remove GCCVER and add compilation options directly.
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2024-10-11 18:29:40 +08:00
xuxin19
0fdab21fd9
cmake:sync LIBUV_HANDLE_BACKTRACE fix build break
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-09-13 23:16:26 +08:00
xuxin19
cbcf9ec168
cmake:add CMake build for libuv
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2024-06-30 21:40:25 +08:00
raiden00pl
4acad717fe
remove system/xxx/README.md. Migrated to Documentation/applications/system
2023-10-30 10:00:01 +08:00
hujun5
5c5c6653fd
libuv: fix build error
...
If UV_ONCE_INIT is a struct, the following errors will occur:
libuv/src/unix/nuttx.c: In function 'uv__global_get':
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22: error: expected expression before '{' token
136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
| ^~~~~~~~~~~~~~~~~
libuv/src/unix/nuttx.c:287:26: note: in expansion of macro 'UV_ONCE_INIT'
287 | global->once = UV_ONCE_INIT;
| ^~~~~~~~~~~~
/home/hujun5/downloads1/vela_sim/apps/system/libuv/libuv/include/uv/unix.h:136:22: error: expected expression before '{' token
136 | #define UV_ONCE_INIT PTHREAD_ONCE_INIT
| ^~~~~~~~~~~~~~~~~
libuv/src/unix/nuttx.c:288:50: note: in expansion of macro 'UV_ONCE_INIT'
288 | global->uv__signal_global_init_guard = UV_ONCE_INIT;
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-09-23 13:18:27 +08:00
Huang Qi
08a4b76a2f
libuv: Upgrade to v1.46.0
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-09-18 12:40:13 +08:00
chao an
8aa3c1e4b9
system/libuv: export GCCVER to environment
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-24 20:49:22 +08:00
chao an
77e6c39cbd
system/libuv: strict GCC version check from GCC-12.2 to GCC-12
...
Toolchain related detection errors are still not resolved on GCC-12.3
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-23 23:51:14 +08:00
fangxinyong
7faebbd425
libuv: fix compile warning
...
CC: pthread/pthread_mutexinconsistent.c libuv/src/unix/getaddrinfo.c:103:9: warning: implicit declaration of function ‘getaddrinfo’; did you mean ‘uv_getaddrinfo’? [-Wimplicit-function-declaration]
103 | err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo);
| ^~~~~~~~~~~
| uv_getaddrinfo
libuv/src/unix/getaddrinfo.c: In function ‘uv_freeaddrinfo’:
libuv/src/unix/getaddrinfo.c:222:5: warning: implicit declaration of function ‘freeaddrinfo’; did you mean ‘uv_freeaddrinfo’? [-Wimplicit-function-declaration]
222 | freeaddrinfo(ai);
| ^~~~~~~~~~~~
| uv_freeaddrinfo
CC: misc/lib_crc16ccitt.c libuv/src/unix/getnameinfo.c: In function ‘uv__getnameinfo_work’:
libuv/src/unix/getnameinfo.c:45:9: warning: implicit declaration of function ‘getnameinfo’; did you mean ‘uv_getnameinfo’? [-Wimplicit-function-declaration]
45 | err = getnameinfo((struct sockaddr*) &req->storage,
| ^~~~~~~~~~~
| uv_getnameinfo
Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-07-01 13:27:02 +08:00
chao an
8ac809e680
system/libuv: check GCC version before set special flags
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-21 13:57:43 +08:00
chao an
f0ddb92be0
libuv: disable warning message of dangling-pointer
...
| In file included from libuv/src/uv-common.h:42,
| from libuv/src/uv-common.c:23:
| libuv/src/uv-common.c: In function 'uv_walk':
| libuv/src/queue.h:68:19: warning: storing the address of local variable 'queue' in '((void * (**)[2])MEM[(void *[2] * *)loop_13(D) + 8B])[1]' [-Wdangling-pointer=]
| 68 | QUEUE_PREV(q) = (n); \
| | ^
| libuv/src/queue.h:78:7: note: in expansion of macro 'QUEUE_SPLIT'
| 78 | QUEUE_SPLIT(h, q, n); \
| | ^~~~~~~~~~~
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-20 19:25:58 +08:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
yinshengkai
2c3c2edcb7
Makefile: Remove INCDIROPT
...
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.
See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
2022-10-25 13:48:16 +08:00
Petro Karashchenko
513662732d
Revert "Revert "system/libuv: minor style fixes in Makefile""
...
This reverts commit f613d0549690156f0fa386ba32382218adae9afc.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
f613d05496
Revert "system/libuv: minor style fixes in Makefile"
...
This reverts commit d7ce4226eff2a19703f0ed9f5a9e44c96918e16d.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
d7ce4226ef
system/libuv: minor style fixes in Makefile
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Huang Qi
2e2630e838
Don't download tarballs if a local git repo found
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 17:20:47 +08:00
zhouliang3
ec4f97623a
libuv/tests: Fix libuv extension tests compilation error
...
Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
2022-08-15 10:51:10 +03:00
Xiang Xiao
dd7e98129a
system/libuv: Fix the undefined reference to `uv__strscpy'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-03 20:25:52 +03:00
Xiang Xiao
f5c094aef1
system/libuv: Skip compile strscpy.c when CONFIG_LIBUV_UTILS_TEST enable
...
since test/test-strscpy.c will include it in this case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-03 20:25:52 +03:00
Xiang Xiao
8d1484b562
system/libuv: Include nuttx/tls.h to call task local storage api
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-06-01 22:50:54 +03:00
Huang Qi
24c16780e2
libuv: Don't add idna.c to CSRCS if test enabled
...
test-idna.c will include idna.c and then cause multiple definition.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-05-13 08:23:23 +03:00
Huang Qi
ec15dc0344
system/libuv: Support specify stack size for worker thread
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-29 18:09:10 +03:00
Xiang Xiao
77382e7209
process-spawn.c: switch uv_socketpair to uv_pipe
...
to remove the socket dependence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-04 09:00:30 +02:00
Xiang Xiao
f0bb6cf914
system/libuv: Switch process.c to process_spawn.c
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-02 23:41:32 +08:00
Xiang Xiao
7872332284
libuv: Remove unsupported case from test list
...
And some minor changes:
* Remove no-proctitle.c from CSRCS since there is a implementation in nuttx.c
* Add sysinfo-[loadavg|memory].c to CSRCS to provide system info
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-01 13:52:34 +08:00
Huang Qi
9351ab50d5
system/libuv: Bump to v1.42.0
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-28 18:05:00 +08:00
Xiang Xiao
4cc0c755bf
Remove CONFIG_CLOCK_MONOTONIC special code
...
since this opion doesn't exist anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:44 +08:00
Alin Jerpelea
01532a45d6
system: fix relative path CI error
...
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Huang Qi
3040c59ae9
Replace all wget with curl
...
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 22:45:46 -06:00
Simon Piriou
a8a70f219d
libuv/adb: add gitignore files
2020-11-08 12:10:11 -08:00
Simon Piriou
efd81744d1
libuv: fix bugs and add partial pipe support
2020-11-08 13:11:48 -03:00
spiriou
18158ed271
system: add libuv port for NuttX
2020-08-17 11:09:47 -03:00