about summary refs log tree commit diff homepage
path: root/scripts/build/p-sqlite-linux-ubuntu.inc
blob: 6f90c6800d87a09dc77e696837704b37bdffd3a0 (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
install_build_dependencies_sqlite() { 
  apt update -y

  dependencies=(
  build-essential
    unzip
    git
    wget
  )

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

  apt update -y
  dependencies=(
    libsqlite3-dev
  )
  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
}