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:
cmd: git submodule update --init
chdir: "{{ ansible_env.HOME }}/src/strfry"
when: git_repository.changed
#when: git_repository.changed
- name: Run make setup-golpe
ansible.builtin.command:
cmd: make setup-golpe
chdir: "{{ ansible_env.HOME }}/src/strfry"
when: git_repository.changed
#when: git_repository.changed
- name: Build strfry
ansible.builtin.command:
cmd: "make -j{{ strfry_make_jobs|default(1) }}"
chdir: "{{ ansible_env.HOME }}/src/strfry"
when: git_repository.changed
#when: git_repository.changed

View File

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

View File

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

View File

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

View File

@ -1,9 +1,11 @@
---
compiler_packages:
strfry_build_dependencies:
- @development-tools
# - flatbuffers # epel?
- git
- lmdb-devel
- openssl-devel
- perl-Template-Toolkit
- 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