Commit Graph

253 Commits

Author SHA1 Message Date
Alvin Moore f33af59a6f Added support for building bindings via cmake 2020-05-12 10:43:34 -07:00
Markus Pilman f8ad7ffd91 Use foundationdb-dev docker image 2020-04-23 10:25:26 -07:00
Markus Pilman c551258018 pass working directory to `fdb-dev`
This allows a user to run commands without using the
docker shell (for example `fdb-dev ninja`)
2020-04-23 10:25:20 -07:00
Andrew Noyes 7eaf8edb1d Don't simulate a TTY if clangd is invoked by IDE
Without this, vscode complains that clangd just crashes.

Also make ~/bin/clangd executable
2020-04-21 17:38:55 +00:00
Andrew Noyes 7fa2a538a6 Actually redirect to $HOME/bin/clangd 2020-04-16 22:03:56 +00:00
Markus Pilman 945832a0bb remove llvm from docker image 2020-04-10 10:38:24 -07:00
Markus Pilman 4d64beeba3 add clangd to ~/bin 2020-04-10 10:07:58 -07:00
Markus Pilman 20a2fe2785 Add LLVM to docker file 2020-04-09 14:20:52 -07:00
Markus Pilman 0e7592c757 don't fail docker script if group already exists 2020-04-09 14:15:58 -07:00
Markus Pilman d4542dbb5a Delete old build system 2020-04-07 11:03:45 -07:00
Balachandar Namasivayam 6d570cd865 Change version from 7.0 to 6.3 2020-04-03 21:38:58 -07:00
Markus Pilman 28cd38913d Merge branch 'master' of github.com:apple/foundationdb into features/boost70 2020-03-27 13:44:10 -07:00
Markus Pilman 75baa99925 give user sudo access in docker container 2020-03-15 17:56:44 +00:00
Markus Pilman cda45481f6 revert to run with sudo
`docker` group is non-standard so sudo seems to be the most portable option`
2020-03-15 17:45:18 +00:00
Markus Pilman f9d97ee1ab Added more notes to script 2020-03-14 00:14:15 +00:00
Markus Pilman c085abf66f User docker group instead of sudo 2020-03-14 00:12:03 +00:00
Markus Pilman 607f08127e copy all user groups to docker, mount ccache dir
this is necessary for configurations where ccache is
shared across multiple users
2020-03-13 23:38:16 +00:00
Markus Pilman 17c8b1f513 fixed string interpolation 2020-03-13 19:34:39 +00:00
Markus Pilman d9c21fb98f don't rely on `/home` being home... 2020-03-13 19:33:31 +00:00
Markus Pilman 2994d74f6a added script that will generated a dev-docker img 2020-03-13 17:49:34 +00:00
Alvin Moore 0f64505d0b Merge branch 'release-6.2' of github.com:apple/foundationdb
Needed to pull in changes to build docker
2020-02-23 23:27:53 -08:00
Alvin Moore ff073f072b Removed npm from build docker
Set the debug TLS library directory for make to /usr/local/lib64
2020-02-23 18:59:25 -08:00
Alvin Moore 252b1754b3 Updated the docker version
Fixed the location of the TLS libraries
2020-02-23 15:35:33 -08:00
Evan Tschannen 96258b9809 Merge branch 'release-6.2'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/ManagementAPI.actor.cpp
#	fdbrpc/FlowTransport.actor.cpp
#	fdbserver/ClusterController.actor.cpp
#	fdbserver/DataDistribution.actor.cpp
#	fdbserver/DataDistribution.actor.h
#	fdbserver/DataDistributionQueue.actor.cpp
#	fdbserver/KeyValueStoreMemory.actor.cpp
#	fdbserver/MasterProxyServer.actor.cpp
#	fdbserver/QuietDatabase.actor.cpp
#	fdbserver/SkipList.cpp
#	fdbserver/StorageMetrics.actor.h
#	fdbserver/TLogServer.actor.cpp
#	fdbserver/fdbserver.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	fdbserver/workloads/KVStoreTest.actor.cpp
#	flow/CMakeLists.txt
#	flow/Knobs.cpp
#	flow/Knobs.h
#	flow/genericactors.actor.cpp
#	flow/serialize.h
2020-02-21 19:09:16 -08:00
Evan Tschannen 8f52fc77c2 updating docker version 2020-02-21 08:18:59 -08:00
Alvin Moore 012f13fa7e Replaced LibreSsl with OpenSSL
Added Python27 back to build docker
2020-02-21 02:10:58 -08:00
Alvin Moore aa6dfc646c Added support for boost 1.72 to build docker images
rRemoved python 2.7 from build docker
Locked gcc compiler to current version
2020-02-20 19:19:02 -08:00
mpilman 3a1e878a9b Upgrade to boost 1.72 2020-02-14 18:10:13 -08:00
Alex Miller 188b564dfb
Merge pull request #2147 from atn34/werror
Don't use -Werror by default
2020-02-13 18:35:57 -08:00
Andrew Noyes a6b3a3ee47 Set USE_WERROR on build/docker-compose.yaml 2020-02-03 09:09:43 -08:00
A.J. Beamon 72f92626e4 Update API version to 700 2020-01-30 09:26:27 -08:00
A.J. Beamon 48c0c3d67c
Merge pull request #2460 from apple/release-6.2
Release 6.2 Merge Into Master
2019-12-13 14:11:08 -08:00
Alvin Moore 5af941ce25
Merge pull request #2451 from atn34/atn34/add-ubsan
Include libubsan in the docker image
2019-12-13 12:02:35 -08:00
Alvin Moore 645ad66b02 Added more verbose compilation statements when building via ninja to give more specific error details 2019-12-13 09:20:58 -08:00
Andrew Noyes f3265e951c Bump docker image version to 0.1.9 2019-12-12 11:13:13 -08:00
Andrew Noyes 0421a4c52a Include libubsan in the docker image 2019-12-12 11:12:46 -08:00
mpilman 00bbd84157 Removed duplicated argument 2019-10-16 14:29:55 -07:00
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