From 78982e7e744320b7884e22c2836d78c9346b9e6d Mon Sep 17 00:00:00 2001 From: wangyunlai Date: Fri, 15 Nov 2024 23:40:01 +0000 Subject: [PATCH] fix gitpod bug --- .gitpod.yml | 13 +++---------- CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 416e840cf..3c19b8a77 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,10 +1,3 @@ -github: - prebuilds: - master: false - branches: false -tasks: - - name: install dependencies - init: | - sudo apt install cmake flex bison texinfo libreadline-dev -y - sudo bash build.sh init - echo -e "\033[32m\nDependency installed successfully\033[0m" +coreDump: + enabled: true +image: oceanbase/miniob:latest diff --git a/CMakeLists.txt b/CMakeLists.txt index 17fb4e41e..7b6f82fa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ MESSAGE(STATUS "This is Project source dir " ${PROJECT_SOURCE_DIR}) MESSAGE(STATUS "This is PROJECT_BINARY_DIR dir " ${PROJECT_BINARY_DIR}) SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) -SET(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${PROJECT_SOURCE_DIR}/deps/3rd/usr/local") +SET(CMAKE_PREFIX_PATH "${PROJECT_SOURCE_DIR}/deps/3rd/usr/local;/usr/local;${CMAKE_PREFIX_PATH}") SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake) # 设置默认构建类型为 Debug