 Bazel2022 年 11 月 11 日 C ur v e1 升级 bazel 到 4.2.2 2 支持 Debian9 、 Debian10 、 Debian11 3 支持 gcc clang 更新内容 Curve1 编译 Debian11-Dockerfile .bazelrc bazel 版本: 4.2.2 ( bazelisk) docker run run -v $(pwd):/curve -it opencurvedocker/curve-base:build-debian11 cd /curve/ # 使用 gcc 编译 bazel build –config=gcc7-later … # use '-faligned-new' to enable C++17 over-aligned new support # 使用 opencurvedocker/curve-base:build-debian11 # 容器内 cd /curve/curvefs make build os=debian11 # 容器外 # curvefs sudo make image os=debian11 tag=harbor.cloud.netease.com/curve/curvefs:chengyi01-debian113 修改 & 单元测试 c0 码力 | 6 页 | 4.69 MB | 6 月前3 Bazel2022 年 11 月 11 日 C ur v e1 升级 bazel 到 4.2.2 2 支持 Debian9 、 Debian10 、 Debian11 3 支持 gcc clang 更新内容 Curve1 编译 Debian11-Dockerfile .bazelrc bazel 版本: 4.2.2 ( bazelisk) docker run run -v $(pwd):/curve -it opencurvedocker/curve-base:build-debian11 cd /curve/ # 使用 gcc 编译 bazel build –config=gcc7-later … # use '-faligned-new' to enable C++17 over-aligned new support # 使用 opencurvedocker/curve-base:build-debian11 # 容器内 cd /curve/curvefs make build os=debian11 # 容器外 # curvefs sudo make image os=debian11 tag=harbor.cloud.netease.com/curve/curvefs:chengyi01-debian113 修改 & 单元测试 c0 码力 | 6 页 | 4.69 MB | 6 月前3
 Oracle VM VirtualBox 4.2.32 User Manual(“Maverick Meerkat), 11.04 (“Natty Narwhal”), 11.10 (“Oneiric Oncelot”), 12.04 (“Precise Pangolin”) – Debian GNU/Linux 5.0 (“lenny”) and 6.0 (“squeeze”) – Oracle Enterprise Linux 4 and 5, Oracle Linux 6 – Redhat numbers of the header file packages must be the same as that of the kernel you are using. • With Debian and Ubuntu releases, you must install the right version of the linux-headers and if it exists the package. Current Ubuntu releases should have the right packages installed by default. • In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. • On Fedora0 码力 | 348 页 | 5.93 MB | 6 月前3 Oracle VM VirtualBox 4.2.32 User Manual(“Maverick Meerkat), 11.04 (“Natty Narwhal”), 11.10 (“Oneiric Oncelot”), 12.04 (“Precise Pangolin”) – Debian GNU/Linux 5.0 (“lenny”) and 6.0 (“squeeze”) – Oracle Enterprise Linux 4 and 5, Oracle Linux 6 – Redhat numbers of the header file packages must be the same as that of the kernel you are using. • With Debian and Ubuntu releases, you must install the right version of the linux-headers and if it exists the package. Current Ubuntu releases should have the right packages installed by default. • In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. • On Fedora0 码力 | 348 页 | 5.93 MB | 6 月前3
 Oracle VM VirtualBox 4.1.40 User Manual(“Maverick Meerkat), 11.04 (“Natty Narwhal”), 11.10 (“Oneiric Oncelot”), 12.04 (“Precise Pangolin”) – Debian GNU/Linux 3.1 (“sarge”), 4.0 (“etch”), 5.0 (“lenny”) and 6.0 (“squeeze”) – Oracle Enterprise Linux numbers of the header file packages must be the same as that of the kernel you are using. • With Debian and Ubuntu releases, you must install the right version of the linux-headers and if it exists the package. Current Ubuntu releases should have the right packages installed by default. • In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. • On Fedora0 码力 | 310 页 | 4.87 MB | 6 月前3 Oracle VM VirtualBox 4.1.40 User Manual(“Maverick Meerkat), 11.04 (“Natty Narwhal”), 11.10 (“Oneiric Oncelot”), 12.04 (“Precise Pangolin”) – Debian GNU/Linux 3.1 (“sarge”), 4.0 (“etch”), 5.0 (“lenny”) and 6.0 (“squeeze”) – Oracle Enterprise Linux numbers of the header file packages must be the same as that of the kernel you are using. • With Debian and Ubuntu releases, you must install the right version of the linux-headers and if it exists the package. Current Ubuntu releases should have the right packages installed by default. • In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. • On Fedora0 码力 | 310 页 | 4.87 MB | 6 月前3
 Building Cppchecklearned from 17 years of Cppcheck development Daniel MarjamäkiTesting: Check Debian ● To test Cppcheck ● We check the Debian code continuously using a “BOINC” like system. ○ We have a server provides (slowest) What we learned from 17 years of Cppcheck development Daniel MarjamäkiWhat does it find in Debian source code ● Buffer overflows => ~1900 ● Uninitialized variables => ~16000 ● Null pointer dereference0 码力 | 41 页 | 706.29 KB | 6 月前3 Building Cppchecklearned from 17 years of Cppcheck development Daniel MarjamäkiTesting: Check Debian ● To test Cppcheck ● We check the Debian code continuously using a “BOINC” like system. ○ We have a server provides (slowest) What we learned from 17 years of Cppcheck development Daniel MarjamäkiWhat does it find in Debian source code ● Buffer overflows => ~1900 ● Uninitialized variables => ~16000 ● Null pointer dereference0 码力 | 41 页 | 706.29 KB | 6 月前3
 Oracle VM VirtualBox 4.3.36 User Manual(“Precise Pangolin”), 12.10 (“Quantal Quetzal”), 13.04 (“Raring Ringtail”), 13.10 (“Saucy Salamander”) – Debian GNU/Linux 6.0 (“squeeze”) and 7.0 (“wheezy”) – Oracle Enterprise Linux 5, Oracle Linux 6 – Redhat numbers of the header file packages must be the same as that of the kernel you are using. • With Debian and Ubuntu releases, you must install the right version of the linux-headers and if it exists the package. Current Ubuntu releases should have the right packages installed by default. • In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. • On Fedora0 码力 | 380 页 | 3.79 MB | 6 月前3 Oracle VM VirtualBox 4.3.36 User Manual(“Precise Pangolin”), 12.10 (“Quantal Quetzal”), 13.04 (“Raring Ringtail”), 13.10 (“Saucy Salamander”) – Debian GNU/Linux 6.0 (“squeeze”) and 7.0 (“wheezy”) – Oracle Enterprise Linux 5, Oracle Linux 6 – Redhat numbers of the header file packages must be the same as that of the kernel you are using. • With Debian and Ubuntu releases, you must install the right version of the linux-headers and if it exists the package. Current Ubuntu releases should have the right packages installed by default. • In even older Debian and Ubuntu releases, you must install the right version of the kernel-headers package. • On Fedora0 码力 | 380 页 | 3.79 MB | 6 月前3
 CurveFs 用户权限系统调研useradd and newusers to set the mode of the new home directories. # 022 is the "historical" value in Debian for UMASK # 027, or even 077, could be considered better for privacy # There is no One True Answer (none) Candidate: 2.2.52-3+b1 Version table: 2.2.52-3+b1 500 500 http://debian.hz.netease.com/debian-current stretch/main amd64 Packages root@pubbeta2-curve5:/home/nbs# apt-get install acl0 码力 | 33 页 | 732.13 KB | 6 月前3 CurveFs 用户权限系统调研useradd and newusers to set the mode of the new home directories. # 022 is the "historical" value in Debian for UMASK # 027, or even 077, could be considered better for privacy # There is no One True Answer (none) Candidate: 2.2.52-3+b1 Version table: 2.2.52-3+b1 500 500 http://debian.hz.netease.com/debian-current stretch/main amd64 Packages root@pubbeta2-curve5:/home/nbs# apt-get install acl0 码力 | 33 页 | 732.13 KB | 6 月前3
 Oracle VM VirtualBox 5.2.40 User Manualhosts (32-bit and 64-bit3). Among others, this includes: – Ubuntu 14.04 LTS, 16.04 LTS, and 17.04 – Debian GNU/Linux 7 (“Wheezy”), 8 (“Jessie”) and 9 (“Stretch”) – Oracle Enterprise Linux 5, Oracle Linux different kernel type. If you have then you will need to determine yourself what to set up. • With Debian and Ubuntu-based distributions, you must install the right version of the linux-headers, usually versions of glibc (version 2.5) and other system libraries. 2.3.3.1 Installing VirtualBox from a Debian/Ubuntu package First, download the appropriate package for your distribution. The following examples0 码力 | 387 页 | 4.27 MB | 6 月前3 Oracle VM VirtualBox 5.2.40 User Manualhosts (32-bit and 64-bit3). Among others, this includes: – Ubuntu 14.04 LTS, 16.04 LTS, and 17.04 – Debian GNU/Linux 7 (“Wheezy”), 8 (“Jessie”) and 9 (“Stretch”) – Oracle Enterprise Linux 5, Oracle Linux different kernel type. If you have then you will need to determine yourself what to set up. • With Debian and Ubuntu-based distributions, you must install the right version of the linux-headers, usually versions of glibc (version 2.5) and other system libraries. 2.3.3.1 Installing VirtualBox from a Debian/Ubuntu package First, download the appropriate package for your distribution. The following examples0 码力 | 387 页 | 4.27 MB | 6 月前3
 Conda 23.3.x Documentationcondarc ~/.conda ~/.continuum RPM and Debian Repositories for Miniconda Conda, the package manager from Anaconda, is available as either a RedHat RPM or as a Debian package. The packages are the equivalent Install 1 Package(s) Total download size: 73 M Installed size: 210 M Is this ok [y/N]: To install on Debian-based Linux distributions such as Ubuntu, download the public GPG key and add the conda repository guide conda Documentation, Release 23.3.1.post2+bdcba5dd0 (continued from previous page) # Add our Debian repo echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https:// ˓→repo0 码力 | 370 页 | 2.94 MB | 8 月前3 Conda 23.3.x Documentationcondarc ~/.conda ~/.continuum RPM and Debian Repositories for Miniconda Conda, the package manager from Anaconda, is available as either a RedHat RPM or as a Debian package. The packages are the equivalent Install 1 Package(s) Total download size: 73 M Installed size: 210 M Is this ok [y/N]: To install on Debian-based Linux distributions such as Ubuntu, download the public GPG key and add the conda repository guide conda Documentation, Release 23.3.1.post2+bdcba5dd0 (continued from previous page) # Add our Debian repo echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https:// ˓→repo0 码力 | 370 页 | 2.94 MB | 8 月前3
 Oracle VM VirtualBox 5.2.12 User Manualhosts (32-bit and 64-bit3). Among others, this includes: – Ubuntu 14.04 LTS, 16.04 LTS, and 17.04 – Debian GNU/Linux 7 (“Wheezy”), 8 (“Jessie”) and 9 (“Stretch”) – Oracle Enterprise Linux 5, Oracle Linux different kernel type. If you have then you will need to determine yourself what to set up. • With Debian and Ubuntu-based distributions, you must install the right version of the linux-headers, usually versions of glibc (version 2.5) and other system libraries. 2.3.3.1 Installing VirtualBox from a Debian/Ubuntu package First, download the appropriate package for your distribution. The following examples0 码力 | 380 页 | 4.23 MB | 6 月前3 Oracle VM VirtualBox 5.2.12 User Manualhosts (32-bit and 64-bit3). Among others, this includes: – Ubuntu 14.04 LTS, 16.04 LTS, and 17.04 – Debian GNU/Linux 7 (“Wheezy”), 8 (“Jessie”) and 9 (“Stretch”) – Oracle Enterprise Linux 5, Oracle Linux different kernel type. If you have then you will need to determine yourself what to set up. • With Debian and Ubuntu-based distributions, you must install the right version of the linux-headers, usually versions of glibc (version 2.5) and other system libraries. 2.3.3.1 Installing VirtualBox from a Debian/Ubuntu package First, download the appropriate package for your distribution. The following examples0 码力 | 380 页 | 4.23 MB | 6 月前3
 Libraries: A First Step Toward Standard C++ Dependency Management○ Don’t need or want a unique solution! ● About Bloomberg’s C++ ○ More than 30K C++ projects, Debian-based packaging ○ Over 500 million lines of code ○ Same open source libs you use: zlib, fmt, protobuf existing install(EXPORT …) calls ○ Should work with existing packaging approaches ■ Conan 2.0, vcpkg, Debian, etc. 28Upside: Easier CMake interop ● Build system interop and freedom! ● Generate via templated0 码力 | 82 页 | 4.21 MB | 6 月前3 Libraries: A First Step Toward Standard C++ Dependency Management○ Don’t need or want a unique solution! ● About Bloomberg’s C++ ○ More than 30K C++ projects, Debian-based packaging ○ Over 500 million lines of code ○ Same open source libs you use: zlib, fmt, protobuf existing install(EXPORT …) calls ○ Should work with existing packaging approaches ■ Conan 2.0, vcpkg, Debian, etc. 28Upside: Easier CMake interop ● Build system interop and freedom! ● Generate via templated0 码力 | 82 页 | 4.21 MB | 6 月前3
共 114 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12














