Skip to content

Commit

Permalink
recompile to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
trcrsired committed Jan 15, 2024
1 parent 79184bf commit 84472d9
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 10 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,6 @@ jobs:
shell: bash
run: make -j4 WASM64=yes

- name: Build wasm64 + libc + preview2
if: matrix.clang_version != '10.0.0'
shell: bash
run: |
make -j4
WASI_SNAPSHOT=preview2 make -j4 WASM64=yes
- name: Build wasm64 + libc + threads
# Build wasm64 with thread support
if: matrix.clang_version != '10.0.0'
Expand Down
5 changes: 5 additions & 0 deletions expected/wasm64-wasi-threads/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ cexp
cexpf
cexpl
chdir
chmod
cimag
cimagf
cimagl
Expand Down Expand Up @@ -607,6 +608,8 @@ fabs
fabsf
fabsl
faccessat
fchmod
fchmodat
fclose
fcntl
fcvt
Expand Down Expand Up @@ -702,6 +705,7 @@ fsetpos
fsetpos64
fstat
fstatat
fstatvfs
fsync
ftell
ftello
Expand Down Expand Up @@ -1162,6 +1166,7 @@ srand48
srandom
sscanf
stat
statvfs
stderr
stdin
stdout
Expand Down
1 change: 1 addition & 0 deletions expected/wasm64-wasi-threads/include-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/stropts.h>
#include <sys/syscall.h>
#include <sys/sysinfo.h>
Expand Down
18 changes: 17 additions & 1 deletion expected/wasm64-wasi-threads/predefined-macros.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
#define DT_REG __WASI_FILETYPE_REGULAR_FILE
#define DT_SOCK 20
#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
#define D_FMT 0x20029
#define D_T_FMT 0x20028
Expand Down Expand Up @@ -1671,6 +1672,18 @@
#define STRU_F 1
#define STRU_P 3
#define STRU_R 2
#define ST_APPEND 256
#define ST_IMMUTABLE 512
#define ST_MANDLOCK 64
#define ST_NOATIME 1024
#define ST_NODEV 4
#define ST_NODIRATIME 2048
#define ST_NOEXEC 8
#define ST_NOSUID 2
#define ST_RDONLY 1
#define ST_RELATIME 4096
#define ST_SYNCHRONOUS 16
#define ST_WRITE 128
#define SUN_LEN(s) (2+strlen((s)->sun_path))
#define SUSP 237
#define SYMLOOP_MAX 40
Expand All @@ -1685,7 +1698,7 @@
#define S_IFBLK (0x6000)
#define S_IFCHR (0x2000)
#define S_IFDIR (0x4000)
#define S_IFIFO (0xc000)
#define S_IFIFO (0x1000)
#define S_IFLNK (0xa000)
#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
#define S_IFREG (0x8000)
Expand Down Expand Up @@ -2360,6 +2373,7 @@
#define _SYS_REG_H
#define _SYS_SELECT_H
#define _SYS_SOCKET_H
#define _SYS_STATVFS_H
#define _SYS_STAT_H
#define _SYS_SYSCALL_H
#define _SYS_SYSINFO_H
Expand Down Expand Up @@ -3186,6 +3200,7 @@
#define fsfilcnt64_t fsfilcnt_t
#define fstat64 fstat
#define fstatat64 fstatat
#define fstatvfs64 fstatvfs
#define ftello64 ftello
#define ftruncate64 ftruncate
#define getdents64 getdents
Expand Down Expand Up @@ -3372,6 +3387,7 @@
#define st_mtime st_mtim.tv_sec
#define stat64 stat
#define static_assert _Static_assert
#define statvfs64 statvfs
#define stderr (stderr)
#define stdin (stdin)
#define stdout (stdout)
Expand Down
5 changes: 5 additions & 0 deletions expected/wasm64-wasi/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ cexp
cexpf
cexpl
chdir
chmod
cimag
cimagf
cimagl
Expand Down Expand Up @@ -543,6 +544,8 @@ fabs
fabsf
fabsl
faccessat
fchmod
fchmodat
fclose
fcntl
fcvt
Expand Down Expand Up @@ -637,6 +640,7 @@ fsetpos
fsetpos64
fstat
fstatat
fstatvfs
fsync
ftell
ftello
Expand Down Expand Up @@ -1012,6 +1016,7 @@ srand48
srandom
sscanf
stat
statvfs
stderr
stdin
stdout
Expand Down
1 change: 1 addition & 0 deletions expected/wasm64-wasi/include-all.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/stropts.h>
#include <sys/syscall.h>
#include <sys/sysinfo.h>
Expand Down
20 changes: 18 additions & 2 deletions expected/wasm64-wasi/predefined-macros.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
#define DT_REG __WASI_FILETYPE_REGULAR_FILE
#define DT_SOCK 20
#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
#define D_FMT 0x20029
#define D_T_FMT 0x20028
Expand Down Expand Up @@ -1637,6 +1638,18 @@
#define STRU_F 1
#define STRU_P 3
#define STRU_R 2
#define ST_APPEND 256
#define ST_IMMUTABLE 512
#define ST_MANDLOCK 64
#define ST_NOATIME 1024
#define ST_NODEV 4
#define ST_NODIRATIME 2048
#define ST_NOEXEC 8
#define ST_NOSUID 2
#define ST_RDONLY 1
#define ST_RELATIME 4096
#define ST_SYNCHRONOUS 16
#define ST_WRITE 128
#define SUN_LEN(s) (2+strlen((s)->sun_path))
#define SUSP 237
#define SYMLOOP_MAX 40
Expand All @@ -1651,7 +1664,7 @@
#define S_IFBLK (0x6000)
#define S_IFCHR (0x2000)
#define S_IFDIR (0x4000)
#define S_IFIFO (0xc000)
#define S_IFIFO (0x1000)
#define S_IFLNK (0xa000)
#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
#define S_IFREG (0x8000)
Expand Down Expand Up @@ -2018,7 +2031,7 @@
#define _Complex_I (0.0f+1.0fi)
#define _DIRENT_H
#define _DIRENT_HAVE_D_TYPE
#define _DLFCN_H
#define _DLFCN_H
#define _ENDIAN_H
#define _ERRNO_H
#define _ERR_H
Expand Down Expand Up @@ -2323,6 +2336,7 @@
#define _SYS_REG_H
#define _SYS_SELECT_H
#define _SYS_SOCKET_H
#define _SYS_STATVFS_H
#define _SYS_STAT_H
#define _SYS_SYSCALL_H
#define _SYS_SYSINFO_H
Expand Down Expand Up @@ -3147,6 +3161,7 @@
#define fsfilcnt64_t fsfilcnt_t
#define fstat64 fstat
#define fstatat64 fstatat
#define fstatvfs64 fstatvfs
#define ftello64 ftello
#define ftruncate64 ftruncate
#define getdents64 getdents
Expand Down Expand Up @@ -3330,6 +3345,7 @@
#define st_mtime st_mtim.tv_sec
#define stat64 stat
#define static_assert _Static_assert
#define statvfs64 statvfs
#define stderr (stderr)
#define stdin (stdin)
#define stdout (stdout)
Expand Down

0 comments on commit 84472d9

Please sign in to comment.