mirror of https://github.com/google/gemma.cpp.git
remove app.h dependency + fix bazel build
This commit is contained in:
parent
8c7b2cf61b
commit
cc5c24c4f8
|
|
@ -33,7 +33,7 @@ endif()
|
||||||
if (BUILD_MODE STREQUAL "local")
|
if (BUILD_MODE STREQUAL "local")
|
||||||
FetchContent_Declare(gemma SOURCE_DIR ../../..)
|
FetchContent_Declare(gemma SOURCE_DIR ../../..)
|
||||||
else()
|
else()
|
||||||
FetchContent_Declare(gemma GIT_REPOSITORY https://github.com/google/gemma.cpp.git GIT_TAG 03147effbd241530611c99f46df51ce5b87f2d8a)
|
FetchContent_Declare(gemma GIT_REPOSITORY https://github.com/google/gemma.cpp.git GIT_TAG 8c7b2cf61b9794b806de091685dc6739dd3db837)
|
||||||
endif()
|
endif()
|
||||||
FetchContent_MakeAvailable(gemma)
|
FetchContent_MakeAvailable(gemma)
|
||||||
|
|
||||||
|
|
|
||||||
1
gemma.cc
1
gemma.cc
|
|
@ -30,7 +30,6 @@
|
||||||
#include "hwy/highway.h"
|
#include "hwy/highway.h"
|
||||||
#include "hwy/profiler.h"
|
#include "hwy/profiler.h"
|
||||||
#include "hwy/timer.h"
|
#include "hwy/timer.h"
|
||||||
#include "util/app.h" // arg types
|
|
||||||
#include "util/args.h" // Path
|
#include "util/args.h" // Path
|
||||||
|
|
||||||
// Non-SIMD includes and types. Note that HWY_ONCE is only true on the last
|
// Non-SIMD includes and types. Note that HWY_ONCE is only true on the last
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue