Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ansible/roles/rgsystemes.php
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ php_cassandra_cpp_driver_pkgs: # list ordering matters for installation to succe
dest: /tmp/cassandra-cpp-driver-dev_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb
- url: "{{ php_cassandra_cpp_driver_url }}/v{{ php_cassandra_cpp_driver_version }}/cassandra-cpp-driver-dbg_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb"
dest: /tmp/cassandra-cpp-driver-dbg_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb
php_cassandra_driver_cflags: "-Wno-error"
php_cassandra_driver_cxxflags: "-Wno-error"

# pdo_dblib driver
php_pdo_dblib_driver_install: no
Expand Down
3 changes: 3 additions & 0 deletions tasks/install-cassandra-driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
phpenmod -v {{ php_default_version_debian }} cassandra
chdir: "{{ workdir }}/ext"
executable: /bin/bash
environment:
CFLAGS: "{{ php_cassandra_driver_cflags }}"
CXXFLAGS: "{{ php_cassandra_driver_cxxflags }}"
register: build_cassandra
changed_when: build_cassandra.rc != 0

Expand Down
20 changes: 20 additions & 0 deletions vars/Debian-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
__php_default_version_debian: "8.2"
php_cassandra_cpp_driver_dependencies_pkgs: [] # A later version is already installed
php_cassandra_php_driver_build_dependencies:
- git
- build-essential
- multiarch-support
- cmake
- libgmp-dev
- re2c
- php{{ php_default_version_debian }}-dev
- xz-utils
- libuv1-dev
php_cassandra_cpp_driver_pkgs: # list ordering matters for installation to success
- url: "{{ php_cassandra_cpp_driver_url }}/v{{ php_cassandra_cpp_driver_version }}/cassandra-cpp-driver_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb"
dest: /tmp/cassandra-cpp-driver_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb
- url: "{{ php_cassandra_cpp_driver_url }}/v{{ php_cassandra_cpp_driver_version }}/cassandra-cpp-driver-dev_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb"
dest: /tmp/cassandra-cpp-driver-dev_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb
- url: "{{ php_cassandra_cpp_driver_url }}/v{{ php_cassandra_cpp_driver_version }}/cassandra-cpp-driver-dbg_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb"
dest: /tmp/cassandra-cpp-driver-dbg_{{ php_cassandra_cpp_driver_version }}-1_amd64.deb