about summary refs log tree commit diff homepage
path: root/scripts/build/p-sqlite-linux-ubuntu.inc
blob: e0f317cb7ab45c1ca10e968b5dc18e4159aa71c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
install_build_dependencies_sqlite() { 
  source "${DIR}/common-functions"
  with_sudo apt update -y

  dependencies=(
  build-essential
    unzip
    git
    wget
  )

  with_sudo apt -y --no-install-recommends install "${dependencies[@]}"
}
install_binary_artifact_sqlite() {
  [[ "${SANITIZER_SUFFIX}x" == "x" ]] || return 1

  source "${DIR}/common-functions"
  with_sudo apt update -y
  dependencies=(
    libsqlite3-dev
  )
  with_sudo apt -y --no-install-recommends install "${dependencies[@]}"
}

# Check if the binary artifact is installed
is_installed_sqlite() {
  [[ -f /usr/lib/x86_64-linux-gnu/libsqlite3.so ]] || return 1
  [[ -f /usr/include/sqlite3.h ]] || return 1
}

get_docker_config_id_sqlite() {
  return 0
}

get_build_artifacts_sqlite() {
  return 0
}