Make redis run under mipsel

Signed-off-by: Harry Chen <i@harrychen.xyz>
master
Harry Chen 6 years ago
parent 4f5bbce516
commit b09e4e24ad

@ -56,11 +56,11 @@ A rootfs is created at `build/$(arch)` and converted to `qcow2`.
| ucore | ❌ | ✅ | ✅ | ✅ | ✅ |
| rust | ✅ | ✅ | ✅ | ✅ | ✅ |
| biscuit | ✅ | ✅ | ❌ | ✅ | ✅ |
| nginx (linux only) | ✅ | ✅ | ❌ | ✅ | ❓ |
| redis (linux only) | ✅ | ✅ | ✅ | ✅ | |
| busybox | ✅ | ✅ | ❌ | ✅ | |
| nginx (linux only) | ✅ | ✅ | 🚧 | ✅ | 🚧 |
| redis (linux only) | ✅ | ✅ | ✅ | ✅ | |
| busybox | ✅ | ✅ | ❌ | ✅ | 🚧 |
| alpine rootfs | ✅ | ✅ | ❌ | ❌ | ❌ |
| iperf3 | ✅ | ❌ | ❌ | ❌ | |
| iperf3 | ✅ | ❌ | ❌ | ❌ | |
## How to run real world programs

@ -25,7 +25,7 @@ $(redis_dir)/src/redis-server: $(redis_dir)/src/config.h
sed -i 's/#define HAVE_EPOLL 1//' $(redis_dir)/src/config.h
# our accept does not have backlog
sed -i 's/#define MAX_ACCEPTS_PER_CALL 1000/#define MAX_ACCEPTS_PER_CALL 1/' $(redis_dir)/src/networking.c
cd $(redis_dir) && make CC=$(cc) MALLOC=libc
cd $(redis_dir) && make CC=$(cc) LDFLAGS="${LDFLAGS} -latomic" MALLOC=libc
$(bin_server_unstripped): $(redis_dir)/src/redis-server
cp $(redis_dir)/src/redis-server $(bin_server_unstripped)

Loading…
Cancel
Save