Skip to content

Commit d268bbd

Browse files
authored
Remove eigen and SGD (#91)
* Remove submodule and mentions in docs * Remove files
1 parent 426015b commit d268bbd

File tree

17 files changed

+0
-1748
lines changed

17 files changed

+0
-1748
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
run: git fetch origin ${GITHUB_REF}:ci-branch
2323
- name: "Check out branch"
2424
run: git checkout --force ci-branch
25-
- name: "Update Eigen submodule"
26-
run: git submodule update --init -f third-party/eigen
2725
- name: "Update Faabric submodule"
2826
run: git submodule update --init -f third-party/faabric
2927
- name: "Update FFI submodule"

.gitmodules

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
path = third-party/llvm-project
77
url = https://github.com/faasm/llvm-project.git
88
branch = faasm
9-
[submodule "third-party/eigen"]
10-
path = third-party/eigen
11-
url = https://gitlab.com/shillaker/eigen.git
12-
branch = faasm
139
[submodule "third-party/libffi"]
1410
path = third-party/libffi
1511
url = https://github.com/faasm/libffi.git

docker/cpp-sysroot.dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ RUN git clone -b v${SYSROOT_VERSION} https://github.com/faasm/cpp
1616
WORKDIR /code/cpp
1717

1818
# Update submodules (not LLVM)
19-
RUN git submodule update --init -f third-party/eigen
2019
RUN git submodule update --init -f third-party/faabric
2120
RUN git submodule update --init -f third-party/faasm-clapack
2221
RUN git submodule update --init -f third-party/libffi
@@ -31,9 +30,6 @@ RUN pip3 install .
3130
# NATIVE
3231
# ---------------------------------
3332

34-
# Install eigen
35-
RUN inv eigen --native
36-
3733
# Native static libraries
3834
RUN inv libfaasm --native
3935
RUN inv libfaasmp --native
@@ -54,7 +50,6 @@ RUN inv install
5450
# Libraries
5551
RUN inv libc
5652
RUN inv libffi
57-
RUN inv eigen
5853
RUN inv ffmpeg
5954

6055
# Both static and shared clapack

docs/usage.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,3 @@ header](https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/wasm_si
9393
was not found in Clang, so we put our own copy into our wasi-libc fork
9494
[here](https://github.com/faasm/wasi-libc/blob/main/libc-bottom-half/headers/public/wasm_simd128.h).
9595

96-
Support for SIMD in Faasm relies on the underlying WASM runtimes.
97-
98-
We have a hacked fork of Eigen to support WebAssembly SIMD
99-
[here](https://github.com/faasm/eigen-git-mirror), although this is
100-
experimental.
101-

func/demo/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ demo_func(zygote_check zygote_check.cpp)
101101
# 23/09/2020 - removing simd
102102
# WASM-only functions
103103
if (CMAKE_SYSTEM_NAME STREQUAL "Wasm")
104-
# demo_func(eigen_vec eigen_vec.cpp)
105-
106104
demo_func(emscripten_check emscripten_check.cpp)
107105
target_link_libraries(emscripten_check emscripten)
108106

func/demo/eigen_vec.cpp

Lines changed: 0 additions & 238 deletions
This file was deleted.

libfaasm/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ set(PUBLIC_HEADERS
1313
faasm/faasm.h
1414
faasm/files.h
1515
faasm/input.h
16-
faasm/matrix.h
1716
faasm/migrate.h
1817
faasm/print.h
1918
faasm/random.h
20-
faasm/sgd.h
2119
faasm/shared_mem.h
2220
faasm/state.h
2321
faasm/time.h
@@ -28,10 +26,8 @@ set(LIB_FILES
2826
core.cpp
2927
files.cpp
3028
input.cpp
31-
matrix.cpp
3229
print.cpp
3330
random.cpp
34-
sgd.cpp
3531
state.cpp
3632
time.cpp
3733
zygote.cpp

0 commit comments

Comments
 (0)