Skip to content

Commit

Permalink
fix gitpod bug (#484)
Browse files Browse the repository at this point in the history
### What problem were solved in this pull request?

Issue Number: close #483

Problem:
gitpod 环境有问题,找不到libevent。看起来执行sudo命令时失败了。

### What is changed and how it works?
使用基础镜像oceanbase/miniob,这个镜像也已经构建好了依赖
<img width="774" alt="image"
src="https://github.com/user-attachments/assets/5988b56a-2bd2-4b0e-8d5d-62fc719c0d38">
  • Loading branch information
hnwyllmm authored Nov 18, 2024
1 parent c9200f2 commit 52cb602
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52cb602

Please sign in to comment.