Author Topic: The CMake build system  (Read 3556 times)

0 Members and 1 Guest are viewing this topic.

Online m!m

  • 210
The problem with allowing other forks to upload builds is that it reveals the password of the FTP host to everyone since if anyone can specify their own repository and branch then that branch could have been altered so that it prints the password to the console while compiling the builds. Also, the encryption system of Travis CI and Appveyor do only work for a single repository so scaling it to multiple forks is not trivial.

The easiest solution would be to just have a manual or semi-manual system where a pull request for a test build branch is created by the contributor and a developer with push access can then check if nothing nefarious is being done with the CI scripts.

 

Online chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️À➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
What if we automate that actual check?  Compare the requested fork's build scripts to the main repo's via diff, as long as they're cool, let it fly?  I mean I guess a user-intervention based process would probably be safer in case methods we didn't think of occur.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Online chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️À➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Another possibility could be that anyone requesting builds from a fork provide their own upload credentials to be used.  Being able to host the builds would be great but being able to upload custom builds to a given location would still be a huge help I think.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
How can I build for OS X while on Windows? A lot of my friends somehow happens to have Macs.

Not while on Windows, no, but it's possible (sometimes) to dual or triple -boot Mac OS X, Windows (and Linux if you want that too).

Post over on /r/hackintosh see if your hardware is currently supported.  They also have a Discord server

 

Online ngld

  • 28
Since Hackintosh has been mentioned (which is against Apple's EULA), I'll mention that you actually CAN run a macOS VM on Windows with either VmWare or VirtualBox. It doesn't work out-of-the box and requires a few tricks but it's possible... However, that also violates Apple's EULA so I won't explain how until a mod can tell me if we're allowed to talk about it here.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Oh.  Yes, I forgot.  It's illegal to run Apple's software, which you purchase (well, I'll assume you purchased it) on hardware which you also purchased, unless it was purchased from Apple for an exorbitant markup.  I mean, $2800 for a laptop with an i7 and an RX 560 + 512GB SSD, 15" display which isn't even as high-res as a Surface Pro.  Oh wait, you're paying for that Apple experience.  So $1500 for the laptop (maybe) and the rest is that slick OS.     /rant

I could see not supporting non-Apple configurations, but the whole EULA business... yeeesh   

Anyways, feel free to redact my comment if we don't want to be talking in gray areas.  I hadn't remembered to take that into consideration when linking to other discussions on the topic.  :nervous:

 

Offline ksotar

  • 24
I think I remember now, why I never even looked to Apple products.

I can understand almost everything, but not been able to build from other platforms...
Looks like my friends with Macs are going to learn how to build by themselves.

 

Online chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️À➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Depending on how often you need it, asking a dev with a mac is always an option.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Depending on how often you need it, asking a dev with a mac is always an option.

Must be nice being one of 5 guys in town with a pickup...  (as in, when people move, they always ask you to help or to borrow your truck, and if there's very few of you, you'll quickly lose patience with that).

Can you target Mac from Linux?  If so, you can target it from Windows through Linux subsystem for Windows

 

Online chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️À➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Yeah I like my toys so I have both a truck and a Mac :)
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Yeah I like my toys so I have both a truck and a Mac :)

I actually like Mac too.  I just hate the price.  My wife bought one through her school, and I always want to play with it, love the click integration.. the price it just outlandish, however.  Imagine a Tesla Model S with the price tag of a Ferrari, Roadster with the price tag of a Ford GT (not Mustang GT) or a Model 3 with the price tag of a Corvette.

Teslas are amazing cars, just not that amazing.  Same with Apple. And they don't even produce the product domestically, or make their own parts!!  They produce them in the same places Samsung et al do, for the same prices (or just use Samsung parts), and then turn around and charge 5x the price!  I just can't believe they can't see how much market share they could capture if they'd drop the price a little, and loosen a few of the restrictions.

 

Offline Cyborg17

  • 29
  • A-1 Supar
I got a refurbished mac for $140 from 2007...  Works great.  Runs El Capitan.  User experience. Very pleased.

  

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
I got a refurbished mac for $140 from 2007...  Works great.  Runs El Capitan.  User experience. Very pleased.

That's pretty cool, I like that kind of price (apparently, after a certain age, even Macs become competitive with PCs, either that, or you got lucky).