mpilman
62cef2c383
Fixes compilation errors in header files with clangd
2019-10-16 14:29:55 -07:00
Meng Xu
d0147e5e5d
Merge branch 'release-6.2' into mengxu/merge-release620-to-master-v3
...
Resolved Conflicts:
documentation/sphinx/source/release-notes.rst
fdbserver/DataDistribution.actor.cpp
versions.target
2019-10-02 13:22:56 -07:00
Alvin Moore
23b2fedde1
Fix version declaration of the FoundationDB compiler
2019-10-01 16:14:11 -07:00
Alvin Moore
74d1403cd9
Updated the build docker to include a specific version of the compiler
2019-10-01 16:14:11 -07:00
Alvin Moore
c28aec3ca1
Fixed Docker label version to match image version
2019-09-13 15:31:37 -07:00
Alvin Moore
5c091cb7eb
Switched cmake build to use ninja which is included within docker file
2019-09-13 15:31:37 -07:00
Alvin Moore
d56f95f624
Updated the linker to support clang libraries
2019-09-12 12:07:50 -07:00
Alvin Moore
91bd13f6b5
Added support to only allow link specification for compiler and versions that support it
2019-09-12 11:56:03 -07:00
Alvin Moore
0e94735c27
Removed the debug messages
2019-09-12 11:56:03 -07:00
Alvin Moore
e741ad299b
Added support for using different linkers within make projects
...
Better cmake support for linkers
2019-09-12 11:56:03 -07:00
Alvin Moore
bb40023a4e
Merge pull request #1903 from AlvinMooreSr/cmake-lld
...
Allow Linker Specification Via Environmental Variable
2019-08-21 10:23:17 -07:00
Andrew Noyes
34dee5f9e3
Pass -Wno-unknown-attributes only for IDE
2019-08-16 09:24:57 -07:00
Alvin Moore
dd8ba6f08b
Merge pull request #1867 from AlvinMooreSr/prb-correctness
...
Fix Correctness PRB
2019-08-12 12:11:48 -07:00
Alvin Moore
52f788e8bc
Merge pull request #1947 from AlvinMooreSr/clang-support
...
Clang Link Support
2019-08-12 08:51:49 -07:00
Alvin Moore
6e9f2aa859
Changed link libbrary from lpthread to pthread
2019-08-02 10:04:36 -07:00
Alvin Moore
9923472636
Added missing quote for correctness command string
2019-08-01 13:27:06 -07:00
Alvin Moore
1d969c2cfb
Added support to only allow link specification for compiler and versions that support it
2019-07-31 18:17:46 -07:00
Alvin Moore
af70559b2b
Added support for clang c++ libraries
2019-07-31 17:41:40 -07:00
Alvin Moore
bd3cfb12eb
Merge pull request #1906 from mpilman/features/docker-ninja
...
Add Ninja to the Dockerfile
2019-07-31 15:45:44 -07:00
mpilman
b030c14a77
fix docker-compose version
2019-07-30 17:50:44 -07:00
A.J. Beamon
b5d2234a13
Merge branch 'release-6.1' into merge-release-6.1-into-master
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbbackup/backup.actor.cpp
# fdbserver/MoveKeys.actor.cpp
# flow/FastAlloc.h
# versions.target
2019-07-30 16:23:42 -07:00
Alvin Moore
1e073c91cd
Removed the debug messages
2019-07-29 20:41:43 -07:00
mpilman
b5e156137f
incremented image and compose-version
2019-07-29 19:32:32 -07:00
mpilman
25b7c9d560
Add Ninja to the Dockerfile
...
[Ninja](https://ninja-build.org ) is a build tool replacement for GNU
Make. It is much faster than GNU Make and cmake can generate Ninja build
files.
This change would allow us to write `cmake -G Ninja $FDB_SRC` and then
build with Ninja in the docker container. This makes the build
significantly faster.
2019-07-29 19:31:22 -07:00
Alvin Moore
397ad77532
Added support for using different linkers within make projects
...
Better cmake support for linkers
2019-07-29 16:41:42 -07:00
Alvin Moore
7c3a08447b
Fixed missing quote
2019-07-19 15:20:17 -07:00
Alvin Moore
141fdac095
Removed use of whoami from repository
2019-07-19 15:10:30 -07:00
A.J. Beamon
93be69b6a3
Increase the API version to 620.
2019-07-18 10:56:05 -07:00
A.J. Beamon
edc1a53c49
Update link validation to print some more info.
2019-07-17 10:18:41 -07:00
Andrew Noyes
b77338af80
Add -DCMAKE_COLOR_MAKEFILE=0 to docker-compose.yaml
2019-06-28 17:46:47 -07:00
Alvin Moore
d1de96649f
Added distcc to list of packages included within build-image in the event that builders use remote compilation nodes
2019-06-25 13:53:44 -07:00
Alvin Moore
418f86dd1e
Define default compiler via environmental variables
2019-06-24 15:27:06 -07:00
Alvin Moore
8ff5150470
Merge pull request #1636 from atn34/export-libfdb_c
...
Export libfdb c
2019-06-24 13:08:41 -07:00
Alvin Moore
9df2198bfd
Added enablement of ccache for all builds via docker-compose by default
2019-06-17 13:11:52 -07:00
Alvin Moore
ce819f2e8e
Added ccache to build docker image
2019-06-17 13:11:52 -07:00
Andrew Noyes
7bb262d21a
Install build tools before running fdb_c_app test
2019-06-09 15:22:06 -07:00
Andrew Noyes
578ae0d595
Call function from libfdb_c
2019-06-09 15:22:06 -07:00
Andrew Noyes
49f3f589dc
Don't build in source tree for package test
2019-06-09 15:22:06 -07:00
Andrew Noyes
2544f2d1a4
Add package tests
2019-06-09 15:22:06 -07:00
Alvin Moore
6a55949e03
Addded in developer package for valgrind
2019-05-15 14:32:21 -07:00
Alvin Moore
43f142ac13
Upgraded devtoolset package from 7 to 8
2019-05-15 13:27:08 -07:00
Alvin Moore
28e7255f4b
Added valgrind development package for Valgrind builds
2019-05-15 13:23:12 -07:00
Alvin Moore
6c51b10c84
Removed default compilation flag environmental variables
2019-05-15 11:08:06 -07:00
Alvin Moore
c93ebe1e8e
Created new build docker with valgrind and default compilation flags
2019-05-15 10:46:52 -07:00
Alvin Moore
17a11b53f0
Upgraded to devtoolset-8 to support compilation of c++17
2019-05-13 12:22:52 -07:00
Alvin Moore
be571d3fd4
Changed volume mount for building docs in order to shorten directory length
2019-05-11 08:01:32 -07:00
Alvin Moore
0840271ddc
Added dos2unix package to build rpms
2019-05-11 07:52:51 -07:00
Alvin Moore
1cfd94f30b
Modified docker compose to use make rather than cmake for bindings, packages, and docs
2019-05-10 11:01:21 -07:00
Alvin Moore
c3dcbefeb2
Updated docker compose to use latest build image
2019-05-10 10:56:31 -07:00
Alvin Moore
4a794923e6
Added environmental variable representing the docker version
...
Added Java Home environmental variable
Removed unnecessary packages
2019-05-10 10:49:32 -07:00
Alvin Moore
0654afa40e
Merge branch 'master' of github.com:apple/foundationdb into new-docker
...
# Conflicts:
# build/Dockerfile
# build/docker-compose.yaml
2019-04-24 13:33:07 -07:00
Alvin Moore
c2f8799537
Removed the setting of permissions and ownership for the /opt directory
...
Installed boto3 via pip
2019-04-22 22:09:25 -07:00
Alvin Moore
ad7487282b
Changed working directory to fix problem with debug rpms
2019-04-22 12:04:08 -07:00
Alvin Moore
7f5b89d699
Updated the services defined within the docker-compose file to use enable scl tools
...
Removed conditionals from docker-compose
2019-04-22 11:40:00 -07:00
Alvin Moore
45868e9198
Updated the build docker file to be Centos-based
2019-04-22 09:06:55 -07:00
Alvin Moore
2bea99591e
Merge branch 'release-6.1' of copy of master
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
2019-04-17 15:51:48 -07:00
Alvin Moore
799a9d2f18
Updated CMake PRB ( #1463 )
...
* Added support for testing cpack and defined very long directory name for source because of problem with building debug rpms
* Added support for building rpms by adding file package
* Added preinstall target to prevent cpack from having to do so much compilation as single thread
2019-04-17 15:38:09 -07:00
Andrew Noyes
5586f44303
Fix return code plumbing
2019-04-15 18:08:45 -07:00
Evan Tschannen
985e1de467
Update documentation and protocol version for release 6.1.0
2019-04-02 18:39:24 -07:00
Alvin Moore
48d25c55e3
Added backup_agent to TGZ package
2019-04-02 11:12:08 -07:00
Andrew Noyes
2442594b7f
Exit non-zero if any tests fail
2019-03-19 16:28:42 -07:00
Andrew Noyes
9da6518d17
Timeout fdbcli commands
2019-03-19 16:28:42 -07:00
Andrew Noyes
9e1e88eb5a
Report Docker-ID
2019-03-19 16:28:42 -07:00
Andrew Noyes
24bffa9f4d
Install python on debian
2019-03-19 16:28:42 -07:00
Andrew Noyes
78ca1b5759
Test loading c library from python bindings
2019-03-19 16:28:42 -07:00
Andrew Noyes
afa5043d98
Fix some errors found by running bash with -u
2019-03-19 16:28:42 -07:00
Andrew Noyes
657c11b00b
Add snowflake-ci to docker-compose
...
This is intended to be used for easy reproduction of failures found by
snowflake's planned CI.
2019-03-08 15:03:56 -08:00
mpilman
668eaeb8ae
Packages tested and all seems working
2019-03-07 16:49:29 -08:00
mpilman
51ccdb1c9b
Remove pidof hack as it was not stable
2019-03-07 16:49:29 -08:00
mpilman
da72306642
several minor bug fixes
2019-03-07 16:49:29 -08:00
mpilman
66cf5438bd
Account for rpmsave in keep_config test
2019-03-07 16:49:29 -08:00
mpilman
55f4d78fcf
Support generating el6 and el7 rpms
2019-03-07 16:49:29 -08:00
mpilman
e8624efb3b
several minor improvements
2019-03-07 16:49:29 -08:00
mpilman
2b11a66ff9
Improved package testing
...
The requirements changed here - so in order to test these
cmake changes properly, we need a framework that does that
2019-03-07 16:49:29 -08:00
mpilman
42e0a89a66
This makes package generation work
...
Resulting packages are not tested yet
2019-03-07 16:49:29 -08:00
Vishesh Yadav
f699f85e30
boost: Update README and Dockerfile to use 1.67
2019-03-05 22:06:12 -08:00
Alex Miller
83629b4d47
Force Make to push $CC into the environment.
...
This fixes a long standing weird issue of doing non-docker builds of FDB
can hit problems of $CC not being defined in link-wrapper.sh. It turns
out that this is because the official docker image defines CC in the
environment, and no one else does that.
Instead, we can just force Make to propagate its setting of CC into the
environment, thus requiring no extra configuration to be able to do a
build.
2019-02-28 14:50:22 -08:00
mpilman
d08aad7fc4
Old build system now working on both docker images
2019-02-28 14:24:52 -08:00
mpilman
d0c06ec8c0
Make old build system work on build/cmake/Dockerfile
2019-02-28 14:24:52 -08:00
Jingyu Zhou
4f9b2b16b5
Bump docker file version to 0.0.6
2019-02-28 00:25:11 -08:00
Jingyu Zhou
8e13d22315
Add elfutils tool for building RPMs.
...
Without this tool, RPM compilation complains eu-strip not found:
WARNING: No build ID note found in /opt/foundation/build/_CPack_Packages/Linux/RPM/foundationdb-6.1.0-/clients/usr/bin/fdbcli
/usr/lib/rpm/find-debuginfo.sh: line 104: eu-strip: command not found
2019-02-28 00:25:11 -08:00
Andrew Noyes
0503471ac1
Rename ../src in build/cmake/build.sh
...
Before this change:
$ sudo --preserve-env docker-compose run build
Starting cmake_common_1 ... done
Num commands 1
Command: build
CMake Error: The source directory "/foundationdb/deep/directory/as/debuginfo/doesnt/work/otherwise/src" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
2019-02-21 14:35:14 -08:00
mpilman
a225204965
put code in foundationdb dir in container
...
Generating the documentation does not work
if the foundationdb code is not in a directory
called `foundationdb`. This is imho a bug.
However, this should be fixed in another PR.
For now I simply renamed the directory in
docker-compose
2019-02-19 11:11:43 -08:00
mpilman
71baffa7d0
Address review
2019-02-19 11:11:43 -08:00
Andrew Noyes
5b3e6f3ba7
Update build/cmake/package_tester/modules/docker.sh
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman
81e482b17e
fix invalid assignment
2019-02-19 11:11:43 -08:00
mpilman
4c80b1796a
renamed util-fun success to make purpose clearer
2019-02-19 11:11:43 -08:00
mpilman
3350a5ffe5
added documentation for test definitions
2019-02-19 11:11:43 -08:00
Andrew Noyes
2d25e7d08d
Update build/cmake/package_tester/modules/arguments.sh
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
Andrew Noyes
c9f7f50907
Update build/cmake/package_tester/modules/test_args.sh
...
Co-Authored-By: mpilman <markus@pilman.ch>
2019-02-19 11:11:43 -08:00
mpilman
983ddaaed8
use fail instead of ugly `?`-assignment
2019-02-19 11:11:43 -08:00
mpilman
f47b9fe8e5
delete containers, not images
2019-02-19 11:11:43 -08:00
Andrew Noyes
15eb996280
Add test-fast and test to docker compose and build.sh
2019-02-19 11:11:43 -08:00
mpilman
b21d9e1a78
Add multi-threading feature to package test
2019-02-19 11:11:43 -08:00
mpilman
e8b6b64f3a
Made it possible to implement and run a test suite
2019-02-19 11:11:43 -08:00
mpilman
a2e4dc042f
Implement automatic package verification
2019-02-19 11:11:43 -08:00
mpilman
0bbbfb6ee3
Address Andrew's review comments
2019-02-15 00:01:42 -08:00
mpilman
a0b20ef2c1
Add initscripts dependency to foundationdb-server
2019-02-15 00:01:42 -08:00
mpilman
b06aa3b8ea
Several bug fixes - debian package working
...
Did some manual minor testing on the debian package
2019-02-15 00:01:42 -08:00
mpilman
a20e58bb4c
Added linux-pkgs command to docker-compose file
2019-02-15 00:01:42 -08:00