Skip to content

Commit

Permalink
func: comment out temporarily disabled functions
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 15, 2024
1 parent 65cc765 commit 0f0125d
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions func/demo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ demo_func(fstat fstat.cpp)
demo_func(getcwd getcwd.cpp)
demo_func(getdents getdents.cpp)
demo_func(getenv getenv.cpp)
demo_func(getpwuid getpwuid.cpp)
# FIXME: need pwd.h
# demo_func(getpwuid getpwuid.cpp)
demo_func(gettime gettime.cpp)
demo_func(heap heap.cpp)
demo_func(hello hello.cpp)
Expand Down Expand Up @@ -87,15 +88,17 @@ demo_func(stdout stdout.cpp)
demo_func(stderr stderr.cpp)
demo_func(string string.cpp)
demo_func(sysconf sysconf.cpp)
demo_func(threads_local threads_local.cpp)
demo_func(threads_check threads_check.cpp)
demo_func(threads_dist threads_dist.cpp)
demo_func(threads_memory threads_memory.cpp)
# TODO: move to func/threads
# demo_func(threads_local threads_local.cpp)
# demo_func(threads_check threads_check.cpp)
# demo_func(threads_dist threads_dist.cpp)
# demo_func(threads_memory threads_memory.cpp)
demo_func(time time.cpp)
demo_func(time_of_day time_of_day.cpp)
demo_func(uname uname.cpp)
demo_func(va_arg va_arg.cpp)
demo_func(waitpid waitpid.cpp)
# TODO: needs sys/wait.h
# demo_func(waitpid waitpid.cpp)
demo_func(x2 x2.cpp)
demo_func(zygote_check zygote_check.cpp)

Expand All @@ -111,8 +114,9 @@ if (CMAKE_SYSTEM_NAME STREQUAL "WASI")
# target_link_libraries(blas_check ${FAASM_BLAS_LIBS})
endif()

faasm_dynamic_func(dynlink dynlink.cpp)
set(ALL_DEMO_FUNCS ${ALL_DEMO_FUNCS} dynlink)
# FIXME: needs pwd.h
# faasm_dynamic_func(dynlink dynlink.cpp)
# set(ALL_DEMO_FUNCS ${ALL_DEMO_FUNCS} dynlink)

# Custom target to group all the demo functions
add_custom_target(demo_all_funcs DEPENDS ${ALL_DEMO_FUNCS})
Expand Down

0 comments on commit 0f0125d

Please sign in to comment.