Skip to content

Commit

Permalink
Prevent ZFS and LTO building at the same time
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Gorski <[email protected]>
  • Loading branch information
sirlucjan committed Oct 31, 2023
1 parent a665ce6 commit 5d6e0e0
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux-bore/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.0.2
# Tue Oct 31 19:43:39 UTC 2023
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.6.0
Expand Down
6 changes: 6 additions & 0 deletions linux-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ prepare() {
_die "ZFS and bcachefs support cannot be built at the same time. "
fi

### Prevent ZFS and LTO building at the same time
# More infos here: https://github.com/openzfs/zfs/issues/15384
if [[ "$_use_llvm_lto" != "none" && -n "$_build_zfs" ]]; then
_die "ZFS and LTO support cannot be built at the same time. "
fi

### Selecting CachyOS config
if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-bore/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.0.2
# Tue Oct 31 19:44:07 UTC 2023
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.6.0
Expand Down
6 changes: 6 additions & 0 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ prepare() {
_die "ZFS and bcachefs support cannot be built at the same time. "
fi

### Prevent ZFS and LTO building at the same time
# More infos here: https://github.com/openzfs/zfs/issues/15384
if [[ "$_use_llvm_lto" != "none" && -n "$_build_zfs" ]]; then
_die "ZFS and LTO support cannot be built at the same time. "
fi

### Selecting CachyOS config
if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-eevdf/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.0.2
# Tue Oct 31 19:44:22 UTC 2023
pkgbase = linux-cachyos-eevdf
pkgdesc = Linux EEVDF scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.6.0
Expand Down
6 changes: 6 additions & 0 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ prepare() {
_die "ZFS and bcachefs support cannot be built at the same time. "
fi

### Prevent ZFS and LTO building at the same time
# More infos here: https://github.com/openzfs/zfs/issues/15384
if [[ "$_use_llvm_lto" != "none" && -n "$_build_zfs" ]]; then
_die "ZFS and LTO support cannot be built at the same time. "
fi

### Selecting CachyOS config
if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-rt/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.0.2
# Tue Oct 31 19:45:45 UTC 2023
pkgbase = linux-cachyos-rt
pkgdesc = Linux kernel with RT patches by CachyOS with other patches and improvements
pkgver = 6.6.0
Expand Down
6 changes: 6 additions & 0 deletions linux-cachyos-rt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ prepare() {
_die "ZFS and bcachefs support cannot be built at the same time. "
fi

### Prevent ZFS and LTO building at the same time
# More infos here: https://github.com/openzfs/zfs/issues/15384
if [[ "$_use_llvm_lto" != "none" && -n "$_build_zfs" ]]; then
_die "ZFS and LTO support cannot be built at the same time. "
fi

### Selecting CachyOS config
if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.0.2
# Tue Oct 31 19:43:53 UTC 2023
pkgbase = linux-cachyos
pkgdesc = Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.6.0
Expand Down
6 changes: 6 additions & 0 deletions linux-cachyos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ prepare() {
_die "ZFS and bcachefs support cannot be built at the same time. "
fi

### Prevent ZFS and LTO building at the same time
# More infos here: https://github.com/openzfs/zfs/issues/15384
if [[ "$_use_llvm_lto" != "none" && -n "$_build_zfs" ]]; then
_die "ZFS and LTO support cannot be built at the same time. "
fi

### Selecting CachyOS config
if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
Expand Down

0 comments on commit 5d6e0e0

Please sign in to comment.