Removed debug comments and tested on Archlinux, Debian 11, Ubuntu 22.04

This commit is contained in:
Brian Lee 2023-07-29 18:14:08 -07:00
parent 30454e79f1
commit 18884a4efb
6 changed files with 20 additions and 32 deletions

View File

@ -16,16 +16,16 @@
ansible.builtin.command: ansible.builtin.command:
cmd: git submodule update --init cmd: git submodule update --init
chdir: "{{ ansible_env.HOME }}/src/strfry" chdir: "{{ ansible_env.HOME }}/src/strfry"
when: git_repository.changed #when: git_repository.changed
- name: Run make setup-golpe - name: Run make setup-golpe
ansible.builtin.command: ansible.builtin.command:
cmd: make setup-golpe cmd: make setup-golpe
chdir: "{{ ansible_env.HOME }}/src/strfry" chdir: "{{ ansible_env.HOME }}/src/strfry"
when: git_repository.changed #when: git_repository.changed
- name: Build strfry - name: Build strfry
ansible.builtin.command: ansible.builtin.command:
cmd: "make -j{{ strfry_make_jobs|default(1) }}" cmd: "make -j{{ strfry_make_jobs|default(1) }}"
chdir: "{{ ansible_env.HOME }}/src/strfry" chdir: "{{ ansible_env.HOME }}/src/strfry"
when: git_repository.changed #when: git_repository.changed

View File

@ -6,19 +6,18 @@
- "{{ ansible_distribution }}.yml" - "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml" - "{{ ansible_os_family }}.yml"
- name: Install compiler dependencies (Debian) - name: Install build dependencies
ansible.builtin.package: ansible.builtin.package:
name: "{{ compiler_packages }}" name: "{{ strfry_build_dependencies }}"
state: present state: present
when: ansible_os_family == 'Debian'
become: true become: true
- name: Set up strfry user - name: Set up local user account
import_tasks: setup-user.yml import_tasks: setup-user.yml
#- name: Run build tasks - name: Run build tasks
# import_tasks: build.yml import_tasks: build.yml
# tags: build tags: build
- name: Install strfry - name: Proceeding with installation
import_tasks: install.yml import_tasks: install.yml

View File

@ -1,11 +1,11 @@
--- ---
compiler_packages: strfry_build_dependencies:
- base-devel - base-devel
- flatbuffers - flatbuffers
- git - git
- lmdb - lmdb
- openssl - openssl
- perl-regexp-grammars
- perl-template-toolkit - perl-template-toolkit
- perl-yaml - perl-yaml
- zlib - zlib
- libb2

View File

@ -1,5 +1,5 @@
--- ---
compiler_packages: strfry_build_dependencies:
- build-essential - build-essential
- git - git
- libflatbuffers-dev - libflatbuffers-dev
@ -11,3 +11,4 @@ compiler_packages:
- libyaml-perl - libyaml-perl
- libzstd-dev - libzstd-dev
- zlib1g-dev - zlib1g-dev
- libb2-dev

View File

@ -1,9 +1,11 @@
--- ---
compiler_packages: strfry_build_dependencies:
- @development-tools - @development-tools
# - flatbuffers # epel?
- git - git
- lmdb-devel - lmdb-devel
- openssl-devel - openssl-devel
- perl-Template-Toolkit - perl-Template-Toolkit
- perl-YAML - perl-YAML
- zlib-devel - zlib-devel
- libb2

View File

@ -1,14 +0,0 @@
---
compiler_packages:
- build-essential
- git
- libflatbuffers-dev
- liblmdb-dev
- libregexp-grammars-perl
- libsecp256k1-dev
- libssl-dev
- libtemplate-perl
- libyaml-perl
- libzstd-dev
- zlib1g-dev
- libb2-dev # Ubuntu 22.04